ocamlPackages.ppxlib: 0.36.0 → 0.36.2

This commit is contained in:
Vincent Laporte
2025-10-07 19:27:16 +02:00
parent f012a4bfaa
commit fe80f1a4eb
2 changed files with 13 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
if lib.versionAtLeast ocaml.version "4.07" then if lib.versionAtLeast ocaml.version "4.07" then
if lib.versionAtLeast ocaml.version "4.08" then if lib.versionAtLeast ocaml.version "4.08" then
if lib.versionAtLeast ocaml.version "4.11" then if lib.versionAtLeast ocaml.version "4.11" then
if lib.versionAtLeast ocaml.version "5.03" then "0.36.0" else "0.33.0" if lib.versionAtLeast ocaml.version "5.03" then "0.36.2" else "0.33.0"
else else
"0.24.0" "0.24.0"
else else
@@ -87,8 +87,8 @@ let
sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo="; sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo=";
min_version = "4.07"; min_version = "4.07";
}; };
"0.36.0" = { "0.36.2" = {
sha256 = "sha256-WrobzhTFMQhhQTARDIQ9AEv5O9LPOgd4/XCGuFOQpDQ="; sha256 = "sha256-yHVgB9jKwTeahGEUYQDB1hHH327MGpoKqb3ewNbk5xs=";
min_version = "4.08"; min_version = "4.08";
}; };
} }

View File

@@ -14,10 +14,16 @@ buildDunePackage {
inherit (repr) src version; inherit (repr) src version;
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch { patches = lib.optionals (lib.versionAtLeast ppxlib.version "0.36") [
url = "https://github.com/mirage/repr/commit/9dcaeaa7e5f45998f76e1eab68f8fd18edc980cc.patch"; (fetchpatch {
hash = "sha256-MKuZ4f8m/nNlgZpomGgqr80s5btynKcb1b4khpIIOY4="; url = "https://github.com/mirage/repr/commit/460fc85a2804e3301bfc0e79413f5df472d95374.patch";
}); hash = "sha256-8nEPyeZ1s9Q/6+BKtdMb9kVhTfCdMmRrU3xpvizVZHA=";
})
(fetchpatch {
url = "https://github.com/mirage/repr/commit/c939a7317e126589bd6d6bd1d9e38cff749bcdb1.patch";
hash = "sha256-Srf5fZoc0iiJEZiW8PnIM5VdHOGofbdkhfnjQvFcTq0=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
ppx_deriving ppx_deriving