Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

zon2nix: 0.1.1 -> 0.1.2

Diff: https://github.com/nix-community/zon2nix/compare/v0.1.1...v0.1.2

Changelog: https://github.com/nix-community/zon2nix/blob/v0.1.2/CHANGELOG.md

figsoda a0463e87 834f66f1

+12 -11
+12 -11
pkgs/tools/nix/zon2nix/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , makeBinaryWrapper 5 , zig_0_11 6 , nix 7 }: 8 9 stdenv.mkDerivation rec { 10 pname = "zon2nix"; 11 - version = "0.1.1"; 12 13 src = fetchFromGitHub { 14 - owner = "figsoda"; 15 repo = "zon2nix"; 16 rev = "v${version}"; 17 - hash = "sha256-VzlLoToZ+5beHt9mFsuCxlSZ8RrBodPO6YKtsugAaik="; 18 }; 19 20 nativeBuildInputs = [ 21 - makeBinaryWrapper 22 zig_0_11.hook 23 ]; 24 25 - postInstall = '' 26 - wrapProgram $out/bin/zon2nix \ 27 - --prefix PATH : ${lib.makeBinPath [ nix ]} 28 - ''; 29 30 meta = with lib; { 31 description = "Convert the dependencies in `build.zig.zon` to a Nix expression"; 32 - homepage = "https://github.com/figsoda/zon2nix"; 33 - changelog = "https://github.com/figsoda/zon2nix/blob/${src.rev}/CHANGELOG.md"; 34 license = licenses.mpl20; 35 maintainers = with maintainers; [ figsoda ]; 36 inherit (zig_0_11.meta) platforms;
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , zig_0_11 5 , nix 6 }: 7 8 stdenv.mkDerivation rec { 9 pname = "zon2nix"; 10 + version = "0.1.2"; 11 12 src = fetchFromGitHub { 13 + owner = "nix-community"; 14 repo = "zon2nix"; 15 rev = "v${version}"; 16 + hash = "sha256-pS0D+wdebtpNaGpDee9aBwEKTDvNU56VXer9uzULXcM="; 17 }; 18 19 nativeBuildInputs = [ 20 zig_0_11.hook 21 ]; 22 23 + zigBuildFlags = [ 24 + "-Dnix=${lib.getExe nix}" 25 + ]; 26 + 27 + zigCheckFlags = [ 28 + "-Dnix=${lib.getExe nix}" 29 + ]; 30 31 meta = with lib; { 32 description = "Convert the dependencies in `build.zig.zon` to a Nix expression"; 33 + homepage = "https://github.com/nix-community/zon2nix"; 34 + changelog = "https://github.com/nix-community/zon2nix/blob/${src.rev}/CHANGELOG.md"; 35 license = licenses.mpl20; 36 maintainers = with maintainers; [ figsoda ]; 37 inherit (zig_0_11.meta) platforms;