e08c2638f2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS /tmp/tmp.HNtjNxAelH /home/ryantm/.cache/nixpkgs /home/ryantm/.cache/nixpkgs - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.0.3 with grep in /nix/store/y4rmp0i9bslzh2izpjhl9glklwhd9ypn-git-remote-gcrypt-1.0.3 - directory tree listing: https://gist.github.com/4dd37ba2fc098537882e10e0c38823bb
33 lines
912 B
Nix
33 lines
912 B
Nix
{ stdenv, fetchFromGitHub, docutils, makeWrapper, gnupg1compat, curl, rsync }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "git-remote-gcrypt-${version}";
|
|
version = "1.0.3";
|
|
rev = version;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "spwhitton";
|
|
repo = "git-remote-gcrypt";
|
|
sha256 = "1vay3204729c7wajgn3nxf0s0hzwpdrw14pl6kd8w2ss25gvw2k1";
|
|
};
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
nativeBuildInputs = [ docutils makeWrapper ];
|
|
|
|
installPhase = ''
|
|
prefix="$out" ./install.sh
|
|
wrapProgram "$out/bin/git-remote-gcrypt" \
|
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1compat curl rsync ]}"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://spwhitton.name/tech/code/git-remote-gcrypt;
|
|
description = "A git remote helper for GPG-encrypted remotes";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ ellis montag451 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|