ocamlPackages.ppxlib: 0.36.0 → 0.36.2 (#449576)

This commit is contained in:
Vincent Laporte
2025-10-09 20:42:59 +00:00
committed by GitHub
2 changed files with 13 additions and 7 deletions
@@ -7,7 +7,7 @@
if lib.versionAtLeast ocaml.version "4.07" then
if lib.versionAtLeast ocaml.version "4.08" 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
"0.24.0"
else
@@ -87,8 +87,8 @@ let
sha256 = "sha256-/6RO9VHyO3XiHb1pijAxBDE4Gq8UC5/kuBwucKLSxjo=";
min_version = "4.07";
};
"0.36.0" = {
sha256 = "sha256-WrobzhTFMQhhQTARDIQ9AEv5O9LPOgd4/XCGuFOQpDQ=";
"0.36.2" = {
sha256 = "sha256-yHVgB9jKwTeahGEUYQDB1hHH327MGpoKqb3ewNbk5xs=";
min_version = "4.08";
};
}
+10 -4
View File
@@ -14,10 +14,16 @@ buildDunePackage {
inherit (repr) src version;
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
url = "https://github.com/mirage/repr/commit/9dcaeaa7e5f45998f76e1eab68f8fd18edc980cc.patch";
hash = "sha256-MKuZ4f8m/nNlgZpomGgqr80s5btynKcb1b4khpIIOY4=";
});
patches = lib.optionals (lib.versionAtLeast ppxlib.version "0.36") [
(fetchpatch {
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 = [
ppx_deriving