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 }: 1 + { lib, stdenv, rustPlatform, fetchFromGitHub 2 + , makeWrapper 3 + , nix 4 + , openssl 5 + , pkg-config 6 + , Security 7 + }: 2 8 3 9 rustPlatform.buildRustPackage rec { 4 10 pname = "nix-template"; 5 - version = "0.1.0"; 11 + version = "0.1.1"; 6 12 7 13 src = fetchFromGitHub { 8 14 owner = "jonringer"; 9 15 repo = pname; 10 16 rev = "v${version}"; 11 - sha256 = "1h6xdvhzg7nb0s82b3r5bsh8bfdb1l5sm7fa24lfwd396xp9yyig"; 17 + sha256 = "sha256-A1b/fgSr27sfMDnTi4R3PUZfhAdLA5wUOd4yh9/4Bnk="; 12 18 }; 13 19 14 - cargoSha256 = "0hp31b5q4s6grkha2jz55945cbjkqdpvx1l8m49zv5prczhd7mz5"; 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 + ''; 15 31 16 32 meta = with lib; { 17 33 description = "Make creating nix expressions easy";
+3 -1
pkgs/top-level/all-packages.nix
··· 3091 3091 3092 3092 nix-output-monitor = haskell.lib.justStaticExecutables (haskellPackages.nix-output-monitor); 3093 3093 3094 - nix-template = callPackage ../tools/package-management/nix-template { }; 3094 + nix-template = callPackage ../tools/package-management/nix-template { 3095 + inherit (darwin.apple_sdk.frameworks) Security; 3096 + }; 3095 3097 3096 3098 nodepy-runtime = with python3.pkgs; toPythonApplication nodepy-runtime; 3097 3099