lol

nix-template: 0.1.1 -> 0.1.4 (#130580)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Jonathan Ringer
Sandro
and committed by
GitHub
2e09265a b5362f0c

+16 -4
+16 -4
pkgs/tools/package-management/nix-template/default.nix
··· 1 1 { lib, stdenv, rustPlatform, fetchFromGitHub 2 + , installShellFiles 2 3 , makeWrapper 3 4 , nix 4 5 , openssl ··· 8 9 9 10 rustPlatform.buildRustPackage rec { 10 11 pname = "nix-template"; 11 - version = "0.1.1"; 12 + version = "0.1.4"; 12 13 13 14 src = fetchFromGitHub { 15 + name = "${pname}-${version}-src"; 14 16 owner = "jonringer"; 15 17 repo = pname; 16 18 rev = "v${version}"; 17 - sha256 = "sha256-A1b/fgSr27sfMDnTi4R3PUZfhAdLA5wUOd4yh9/4Bnk="; 19 + sha256 = "sha256-kNFhSfHUYBUOCXoD6m7thMho4tOIpRHfHGcsW8FTgkc="; 18 20 }; 19 21 20 - cargoSha256 = "sha256-resyY/moqLo4KWOKUvFJiOWealCmcEsLFgkN12slKN0="; 22 + cargoSha256 = "sha256-7PthFLCEt+E/Gx5//aulHYYBKZqapNEWKtKfRlDr3Pw="; 21 23 22 - nativeBuildInputs = [ makeWrapper pkg-config ]; 24 + nativeBuildInputs = [ 25 + installShellFiles 26 + makeWrapper 27 + pkg-config 28 + ]; 29 + 23 30 buildInputs = [ openssl ] 24 31 ++ lib.optional stdenv.isDarwin Security; 25 32 ··· 27 34 postInstall = '' 28 35 wrapProgram $out/bin/nix-template \ 29 36 --prefix PATH : ${lib.makeBinPath [ nix ]} 37 + 38 + installShellCompletion --cmd nix-template \ 39 + --bash <($out/bin/nix-template completions bash) \ 40 + --fish <($out/bin/nix-template completions fish) \ 41 + --zsh <($out/bin/nix-template completions zsh) 30 42 ''; 31 43 32 44 meta = with lib; {