mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
New package: git-remote-gcrypt.
A git remote for working with encrypted git repositories. Closes #4100
This commit is contained in:
parent
96bf2fdecf
commit
b4437f36c3
@ -98,4 +98,5 @@ rec {
|
|||||||
|
|
||||||
git-remote-hg = callPackage ./git-remote-hg { };
|
git-remote-hg = callPackage ./git-remote-hg { };
|
||||||
|
|
||||||
|
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchgit, docutils }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "git-remote-gcrypt-20140715";
|
||||||
|
|
||||||
|
# Use joeyh's branch that works better with git-annex
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/joeyh/git-remote-gcrypt.git";
|
||||||
|
rev = "5dcc77f507d497fe4023e94a47b6a7a1f1146bce";
|
||||||
|
sha256 = "d509efde143cfec4898872b5bb423d52d5d1c940b6a1e21b8444c904bdb250c2";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Required for rst2man.py
|
||||||
|
buildInputs = [ docutils ];
|
||||||
|
|
||||||
|
# The install.sh script expects rst2man, but here it's named rst2man.py
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i 's/rst2man/rst2man.py/g' install.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
prefix="$out" ./install.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/joeyh/git-remote-gcrypt";
|
||||||
|
description = "GNU Privacy Guard-encrypted git remote";
|
||||||
|
license = self.stdenv.lib.licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user