tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
zon2nix: 0.1.2 -> 0.1.3-unstable-2025-03-20
Tristan Ross
10 months ago
e3fa9fa8
8f517fbf
+15
-12
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
zo
zon2nix
package.nix
+15
-12
pkgs/by-name/zo/zon2nix/package.nix
···
2
2
lib,
3
3
stdenv,
4
4
fetchFromGitHub,
5
5
-
zig_0_11,
5
5
+
zig_0_14,
6
6
nix,
7
7
}:
8
8
9
9
-
stdenv.mkDerivation rec {
9
9
+
stdenv.mkDerivation (finalAttrs: {
10
10
pname = "zon2nix";
11
11
-
version = "0.1.2";
11
11
+
version = "0.1.3-unstable-2025-03-20";
12
12
13
13
src = fetchFromGitHub {
14
14
owner = "nix-community";
15
15
repo = "zon2nix";
16
16
-
rev = "v${version}";
17
17
-
hash = "sha256-pS0D+wdebtpNaGpDee9aBwEKTDvNU56VXer9uzULXcM=";
16
16
+
rev = "2360e358c2107860dadd340f88b25d260b538188";
17
17
+
hash = "sha256-89hYzrzQokQ+HUOd3g4epP9jdajaIoaMG81SrCNCqqU=";
18
18
};
19
19
20
20
nativeBuildInputs = [
21
21
-
zig_0_11.hook
21
21
+
zig_0_14.hook
22
22
];
23
23
24
24
zigBuildFlags = [
···
29
29
"-Dnix=${lib.getExe nix}"
30
30
];
31
31
32
32
-
meta = with lib; {
32
32
+
meta = {
33
33
description = "Convert the dependencies in `build.zig.zon` to a Nix expression";
34
34
mainProgram = "zon2nix";
35
35
homepage = "https://github.com/nix-community/zon2nix";
36
36
-
changelog = "https://github.com/nix-community/zon2nix/blob/${src.rev}/CHANGELOG.md";
37
37
-
license = licenses.mpl20;
38
38
-
maintainers = with maintainers; [ figsoda ];
39
39
-
inherit (zig_0_11.meta) platforms;
36
36
+
changelog = "https://github.com/nix-community/zon2nix/blob/${finalAttrs.src.rev}/CHANGELOG.md";
37
37
+
license = lib.licenses.mpl20;
38
38
+
maintainers = with lib.maintainers; [
39
39
+
figsoda
40
40
+
RossComputerGuy
41
41
+
];
42
42
+
inherit (zig_0_14.meta) platforms;
40
43
};
41
41
-
}
44
44
+
})