mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
d86866cd67
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/git-remote-gcrypt/versions. These checks were done: - built on NixOS - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/git-remote-gcrypt -h’ got 0 exit code - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/git-remote-gcrypt --help’ got 0 exit code - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/git-remote-gcrypt help’ got 0 exit code - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/.git-remote-gcrypt-wrapped -h’ got 0 exit code - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/.git-remote-gcrypt-wrapped --help’ got 0 exit code - ran ‘/nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1/bin/.git-remote-gcrypt-wrapped help’ got 0 exit code - found 1.1 with grep in /nix/store/xqncvvl7rynvbw0lf27d68qj879s26bm-git-remote-gcrypt-1.1 - directory tree listing: https://gist.github.com/f375e7b41aa0075f2c539d2c32748c12
33 lines
910 B
Nix
33 lines
910 B
Nix
{ stdenv, fetchFromGitHub, docutils, makeWrapper, gnupg1compat, curl, rsync }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "git-remote-gcrypt-${version}";
|
|
version = "1.1";
|
|
rev = version;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "spwhitton";
|
|
repo = "git-remote-gcrypt";
|
|
sha256 = "0mhz5mqnr35rk7j4wyhp7hzmqgv8r554n9qlm4iw565bz7acvq24";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|