-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lefthook: init at 0.6.3 #69233
lefthook: init at 0.6.3 #69233
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review
passes on NixOS
diff LGTM
binary works
leaf package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a pair of comment. Besides that, LTGM
pname = "lefthook"; | ||
version = "0.6.3"; | ||
|
||
goPackagePath = "github.com/Arkweid/lefthook"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goPackagePath
is not necessary for buildGoModule
goPackagePath = "github.com/Arkweid/lefthook"; |
|
||
meta = with stdenv.lib; { | ||
description = "Fast and powerful Git hooks manager for any type of projects"; | ||
homepage = https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick, I think it's better to point to the repository instead of a release post.
homepage = https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook; | |
homepage = "https://github.com/Arkweid/lefthook"; |
pkgs/top-level/all-packages.nix
Outdated
@@ -10227,6 +10227,9 @@ in | |||
|
|||
nsis = callPackage ../development/tools/nsis { }; | |||
|
|||
### DEVELOPMENT / TOOLS / VERSION CONTROL | |||
lefthook = callPackage ../development/tools/version-control/lefthook {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer this to be placed under ### DEVELOPMENT / EMSCRIPTEN
; because pre-commit
(same category) is under there
@marsam thanks for the suggestions, I've implemented some more changes, please review if necessary. |
Thanks! |
lefthook: init at 0.6.3 (cherry picked from commit 696b36f)
Motivation for this change
Adds lefthook, a cli tool for managing git hooks.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @