Browse Source

lefthook: init at 0.6.3 (#69233)

lefthook: init at 0.6.3
openssl
Eric Ren 2 years ago
committed by Mario Rodas
parent
commit
696b36f928
  1. 2
      pkgs/applications/version-management/git-and-tools/default.nix
  2. 22
      pkgs/applications/version-management/git-and-tools/lefthook/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

2
pkgs/applications/version-management/git-and-tools/default.nix

@ -147,6 +147,8 @@ let
lab = callPackage ./lab { };
lefthook = callPackage ./lefthook { };
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };

22
pkgs/applications/version-management/git-and-tools/lefthook/default.nix

@ -0,0 +1,22 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "lefthook";
version = "0.6.3";
src = fetchFromGitHub {
rev = "v${version}";
owner = "Arkweid";
repo = "lefthook";
sha256 = "01zvlw2yyxjg92d1qag1b42kc2kd68h4fmrv9y6ar7z0rw3p9a5d";
};
modSha256 = "0mjhw778x40c2plmjlkiry4rwvr9xkz65b88a61j86liv2plbmq2";
meta = with stdenv.lib; {
description = "Fast and powerful Git hooks manager for any type of projects";
homepage = "https://github.com/Arkweid/lefthook";
license = licenses.mit;
maintainers = with maintainers; [ rencire ];
};
}

2
pkgs/top-level/all-packages.nix

@ -4227,6 +4227,8 @@ in
lbreakout2 = callPackage ../games/lbreakout2 { };
lefthook = gitAndTools.lefthook;
lego = callPackage ../tools/admin/lego { };
leocad = callPackage ../applications/graphics/leocad { };

Loading…
Cancel
Save