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