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