zon2nix: 0.1.2 -> 0.1.3-unstable-2025-03-20
This commit is contained in:
parent
8f517fbfb4
commit
e3fa9fa859
@ -2,23 +2,23 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
zig_0_11,
|
zig_0_14,
|
||||||
nix,
|
nix,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "zon2nix";
|
pname = "zon2nix";
|
||||||
version = "0.1.2";
|
version = "0.1.3-unstable-2025-03-20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = "zon2nix";
|
repo = "zon2nix";
|
||||||
rev = "v${version}";
|
rev = "2360e358c2107860dadd340f88b25d260b538188";
|
||||||
hash = "sha256-pS0D+wdebtpNaGpDee9aBwEKTDvNU56VXer9uzULXcM=";
|
hash = "sha256-89hYzrzQokQ+HUOd3g4epP9jdajaIoaMG81SrCNCqqU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
zig_0_11.hook
|
zig_0_14.hook
|
||||||
];
|
];
|
||||||
|
|
||||||
zigBuildFlags = [
|
zigBuildFlags = [
|
||||||
@ -29,13 +29,16 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dnix=${lib.getExe nix}"
|
"-Dnix=${lib.getExe nix}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Convert the dependencies in `build.zig.zon` to a Nix expression";
|
description = "Convert the dependencies in `build.zig.zon` to a Nix expression";
|
||||||
mainProgram = "zon2nix";
|
mainProgram = "zon2nix";
|
||||||
homepage = "https://github.com/nix-community/zon2nix";
|
homepage = "https://github.com/nix-community/zon2nix";
|
||||||
changelog = "https://github.com/nix-community/zon2nix/blob/${src.rev}/CHANGELOG.md";
|
changelog = "https://github.com/nix-community/zon2nix/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||||
license = licenses.mpl20;
|
license = lib.licenses.mpl20;
|
||||||
maintainers = with maintainers; [ figsoda ];
|
maintainers = with lib.maintainers; [
|
||||||
inherit (zig_0_11.meta) platforms;
|
figsoda
|
||||||
|
RossComputerGuy
|
||||||
|
];
|
||||||
|
inherit (zig_0_14.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user