confirmed git-secrets is now working

This commit is contained in:
Brandon Elam Barker 2018-05-04 22:02:55 +00:00
parent 77a54ea59f
commit ee270fe647
3 changed files with 12 additions and 5 deletions

View File

@ -89,6 +89,8 @@ rec {
git-secret = callPackage ./git-secret { };
git-secrets = callPackage ./git-secrets { };
git-stree = callPackage ./git-stree { };
git2cl = callPackage ./git2cl { };

View File

@ -10,20 +10,25 @@ in stdenv.mkDerivation {
src = fetchFromGitHub {
inherit repo;
owner = "awslabs";
rev = "v${version}";
rev = "${version}";
sha256 = "14jsm4ks3k5d9iq3jr23829izw040pqpmv7dz8fhmvx6qz8fybzg";
};
buildInputs = [ makeWrapper ];
buildInputs = [ makeWrapper git];
# buildPhase = ''
# make man # TODO: need rst2man.py
# '';
installPhase = ''
install -D git-secrets $out/bin/git-secrets
wrapProgram $out/bin/git-secrets \
--prefix PATH : "${lib.makeBinPath [ git ]}"
mkdir $out/share
cp -r man $out/share
# TODO: see above note on rst2man.py
# mkdir $out/share
# cp -r man $out/share
'';
meta = {

View File

@ -15969,7 +15969,7 @@ with pkgs;
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret transcrypt git-crypt;
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret git-secrets transcrypt git-crypt;
gitMinimal = git.override {
withManual = false;