git-crypt needs GnuPG

This commit is contained in:
Igor Pashev 2015-12-17 11:00:50 +03:00
parent 98151e0691
commit 85375fc5fc

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, openssl }:
{ stdenv, fetchFromGitHub, openssl, gnupg1compat, makeWrapper }:
stdenv.mkDerivation rec {
@ -12,10 +12,11 @@ stdenv.mkDerivation rec {
inherit name;
};
buildInputs = [ openssl ];
buildInputs = [ openssl makeWrapper ];
installPhase = ''
make install PREFIX=$out
wrapProgram $out/bin/* --prefix PATH : ${gnupg1compat}/bin
'';
meta = with stdenv.lib; {