New package: git-remote-gcrypt.

A git remote for working with encrypted git repositories.

Closes #4100

authored by Ellis Whitehead and committed by Mateusz Kowalczyk b4437f36 96bf2fde

+31
+1
pkgs/applications/version-management/git-and-tools/default.nix
··· 98 99 git-remote-hg = callPackage ./git-remote-hg { }; 100 101 }
··· 98 99 git-remote-hg = callPackage ./git-remote-hg { }; 100 101 + gitRemoteGcrypt = callPackage ./git-remote-gcrypt { }; 102 }
+30
pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix
···
··· 1 + { stdenv, fetchgit, docutils }: 2 + 3 + stdenv.mkDerivation { 4 + name = "git-remote-gcrypt-20140715"; 5 + 6 + # Use joeyh's branch that works better with git-annex 7 + src = fetchgit { 8 + url = "https://github.com/joeyh/git-remote-gcrypt.git"; 9 + rev = "5dcc77f507d497fe4023e94a47b6a7a1f1146bce"; 10 + sha256 = "d509efde143cfec4898872b5bb423d52d5d1c940b6a1e21b8444c904bdb250c2"; 11 + }; 12 + 13 + # Required for rst2man.py 14 + buildInputs = [ docutils ]; 15 + 16 + # The install.sh script expects rst2man, but here it's named rst2man.py 17 + patchPhase = '' 18 + sed -i 's/rst2man/rst2man.py/g' install.sh 19 + ''; 20 + 21 + installPhase = '' 22 + prefix="$out" ./install.sh 23 + ''; 24 + 25 + meta = { 26 + homepage = "https://github.com/joeyh/git-remote-gcrypt"; 27 + description = "GNU Privacy Guard-encrypted git remote"; 28 + license = self.stdenv.lib.licenses.gpl3; 29 + }; 30 + }