tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.ppxlib: 0.36.0 → 0.36.2
Vincent Laporte
6 months ago
fe80f1a4
f012a4bf
+13
-7
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
ppxlib
default.nix
repr
ppx.nix
+3
-3
pkgs/development/ocaml-modules/ppxlib/default.nix
reviewed
···
7
7
if lib.versionAtLeast ocaml.version "4.07" then
8
8
if lib.versionAtLeast ocaml.version "4.08" then
9
9
if lib.versionAtLeast ocaml.version "4.11" then
10
10
-
if lib.versionAtLeast ocaml.version "5.03" then "0.36.0" else "0.33.0"
10
10
+
if lib.versionAtLeast ocaml.version "5.03" then "0.36.2" else "0.33.0"
11
11
else
12
12
"0.24.0"
13
13
else
···
87
87
sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo=";
88
88
min_version = "4.07";
89
89
};
90
90
-
"0.36.0" = {
91
91
-
sha256 = "sha256-WrobzhTFMQhhQTARDIQ9AEv5O9LPOgd4/XCGuFOQpDQ=";
90
90
+
"0.36.2" = {
91
91
+
sha256 = "sha256-yHVgB9jKwTeahGEUYQDB1hHH327MGpoKqb3ewNbk5xs=";
92
92
min_version = "4.08";
93
93
};
94
94
}
+10
-4
pkgs/development/ocaml-modules/repr/ppx.nix
reviewed
···
14
14
15
15
inherit (repr) src version;
16
16
17
17
-
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
18
18
-
url = "https://github.com/mirage/repr/commit/9dcaeaa7e5f45998f76e1eab68f8fd18edc980cc.patch";
19
19
-
hash = "sha256-MKuZ4f8m/nNlgZpomGgqr80s5btynKcb1b4khpIIOY4=";
20
20
-
});
17
17
+
patches = lib.optionals (lib.versionAtLeast ppxlib.version "0.36") [
18
18
+
(fetchpatch {
19
19
+
url = "https://github.com/mirage/repr/commit/460fc85a2804e3301bfc0e79413f5df472d95374.patch";
20
20
+
hash = "sha256-8nEPyeZ1s9Q/6+BKtdMb9kVhTfCdMmRrU3xpvizVZHA=";
21
21
+
})
22
22
+
(fetchpatch {
23
23
+
url = "https://github.com/mirage/repr/commit/c939a7317e126589bd6d6bd1d9e38cff749bcdb1.patch";
24
24
+
hash = "sha256-Srf5fZoc0iiJEZiW8PnIM5VdHOGofbdkhfnjQvFcTq0=";
25
25
+
})
26
26
+
];
21
27
22
28
propagatedBuildInputs = [
23
29
ppx_deriving