Merge pull request #129976 from jonringer/bump-nix-template

nix-template: 0.1.0 -> 0.1.1

authored by

Sandro and committed by
GitHub
92884dff 0d3bacac

+23 -5
+20 -4
pkgs/tools/package-management/nix-template/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "nix-template"; 5 - version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "jonringer"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "1h6xdvhzg7nb0s82b3r5bsh8bfdb1l5sm7fa24lfwd396xp9yyig"; 12 }; 13 14 - cargoSha256 = "0hp31b5q4s6grkha2jz55945cbjkqdpvx1l8m49zv5prczhd7mz5"; 15 16 meta = with lib; { 17 description = "Make creating nix expressions easy";
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub 2 + , makeWrapper 3 + , nix 4 + , openssl 5 + , pkg-config 6 + , Security 7 + }: 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 + 26 + # needed for nix-prefetch-url 27 + postInstall = '' 28 + wrapProgram $out/bin/nix-template \ 29 + --prefix PATH : ${lib.makeBinPath [ nix ]} 30 + ''; 31 32 meta = with lib; { 33 description = "Make creating nix expressions easy";
+3 -1
pkgs/top-level/all-packages.nix
··· 3091 3092 nix-output-monitor = haskell.lib.justStaticExecutables (haskellPackages.nix-output-monitor); 3093 3094 - nix-template = callPackage ../tools/package-management/nix-template { }; 3095 3096 nodepy-runtime = with python3.pkgs; toPythonApplication nodepy-runtime; 3097
··· 3091 3092 nix-output-monitor = haskell.lib.justStaticExecutables (haskellPackages.nix-output-monitor); 3093 3094 + nix-template = callPackage ../tools/package-management/nix-template { 3095 + inherit (darwin.apple_sdk.frameworks) Security; 3096 + }; 3097 3098 nodepy-runtime = with python3.pkgs; toPythonApplication nodepy-runtime; 3099