git-secret: 0.5.0 -> 0.5.0-unstable-09-12-2024

+28 -19
+28 -19
pkgs/by-name/gi/git-secret/package.nix
··· 6 git, 7 gnupg, 8 gawk, 9 }: 10 11 - stdenv.mkDerivation rec { 12 pname = "git-secret"; 13 - version = "0.5.0"; 14 15 src = fetchFromGitHub { 16 repo = "git-secret"; 17 owner = "sobolevn"; 18 - rev = "v${version}"; 19 - sha256 = "sha256-Vdlv3H99BZcT1O66ZCpq5olENOaUSubx58B1PQ/OlMU="; 20 }; 21 22 - nativeBuildInputs = [ makeWrapper ]; 23 24 - installPhase = '' 25 - install -D git-secret $out/bin/git-secret 26 27 - wrapProgram $out/bin/git-secret \ 28 - --prefix PATH : "${ 29 - lib.makeBinPath [ 30 - git 31 - gnupg 32 - gawk 33 - ] 34 - }" 35 36 - mkdir $out/share 37 - cp -r man $out/share 38 - ''; 39 40 meta = { 41 description = "Bash-tool to store your private data inside a git repository"; 42 - homepage = "https://git-secret.io"; 43 license = lib.licenses.mit; 44 maintainers = [ lib.maintainers.lo1tuma ]; 45 platforms = lib.platforms.all;
··· 6 git, 7 gnupg, 8 gawk, 9 + installShellFiles, 10 }: 11 12 + stdenv.mkDerivation { 13 pname = "git-secret"; 14 + version = "0.5.0-unstable-2024-12-09"; 15 16 src = fetchFromGitHub { 17 repo = "git-secret"; 18 owner = "sobolevn"; 19 + rev = "fdc5e755b34569b0ad3d84a85e611afbb86c4db5"; 20 + hash = "sha256-SN6Xpkc8bd1yuvUMlKaXb5M1ts1JxZynVa5GHBKyOjw="; 21 }; 22 23 + nativeBuildInputs = [ 24 + makeWrapper 25 + installShellFiles 26 + ]; 27 + 28 + installPhase = 29 + let 30 + binPath = lib.makeBinPath [ 31 + git 32 + gnupg 33 + gawk 34 + ]; 35 + in 36 + '' 37 + runHook preInstall 38 39 + installBin git-secret 40 + wrapProgram "$out/bin/git-secret" --prefix PATH : "${binPath}" 41 42 + shopt -s extglob 43 + installManPage man/**/!(*.md) 44 + shopt -u extglob 45 46 + runHook postInstall 47 + ''; 48 49 meta = { 50 description = "Bash-tool to store your private data inside a git repository"; 51 + homepage = "https://sobolevn.me/git-secret/"; 52 license = lib.licenses.mit; 53 maintainers = [ lib.maintainers.lo1tuma ]; 54 platforms = lib.platforms.all;