diff options
author | Ellis Whitehead <ellis@ellisw.net> | 2014-09-15 21:20:01 +0200 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-09-21 02:13:28 +0100 |
commit | b4437f36c30f3a19e09f018437bc36a5bdb8c373 (patch) | |
tree | e5fa98434b0a533fe57ee21247fce4a8fa0de69b /pkgs/applications/version-management | |
parent | 96bf2fdecf1f3e410dc8ccbbd2f90bffbbf86d0d (diff) | |
download | nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar.gz nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar.bz2 nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar.lz nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar.xz nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.tar.zst nixlib-b4437f36c30f3a19e09f018437bc36a5bdb8c373.zip |
New package: git-remote-gcrypt.
A git remote for working with encrypted git repositories. Closes #4100
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index fd548296220e..4cabe3a4e2ab 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -98,4 +98,5 @@ rec { git-remote-hg = callPackage ./git-remote-hg { }; + gitRemoteGcrypt = callPackage ./git-remote-gcrypt { }; } diff --git a/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix b/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix new file mode 100644 index 000000000000..f2765e046969 --- /dev/null +++ b/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix @@ -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; + }; +} |