1 { lib, stdenv, fetchFromGitHub, docutils, makeWrapper
2 , gnupg, curl, rsync, coreutils
3 , gawk, gnused, gnugrep
6 stdenv.mkDerivation rec {
7 pname = "git-remote-gcrypt";
11 src = fetchFromGitHub {
14 repo = "git-remote-gcrypt";
15 sha256 = "sha256-uy6s3YQwY/aZmQoW/qe1YrSlfNHyDTXBFxB6fPGiPNQ=";
18 outputs = [ "out" "man" ];
20 nativeBuildInputs = [ docutils makeWrapper ];
23 prefix="$out" ./install.sh
24 wrapProgram "$out/bin/git-remote-gcrypt" \
25 --prefix PATH ":" "${lib.makeBinPath [ gnupg curl rsync coreutils
26 gawk gnused gnugrep ]}"
30 homepage = "https://spwhitton.name/tech/code/git-remote-gcrypt";
31 description = "A git remote helper for GPG-encrypted remotes";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ ellis montag451 ];
34 platforms = platforms.unix;