···77 { case = "8.13"; out = { version = "1.13.7"; };}
88 { case = "8.14"; out = { version = "1.13.7"; };}
99 { case = "8.15"; out = { version = "1.15.0"; };}
1010- { case = "8.16"; out = { version = "1.16.5"; };}
1111- { case = "8.17"; out = { version = "1.16.5"; };}
1010+ { case = "8.16"; out = { version = "1.17.0"; };}
1111+ { case = "8.17"; out = { version = "1.17.0"; };}
1212 ] {} );
1313in mkCoqDerivation {
1414 pname = "elpi";
+3-2
pkgs/development/ocaml-modules/elpi/default.nix
···88, ppxlib, ppx_deriving
99, ppxlib_0_15, ppx_deriving_0_15
1010, coqPackages
1111-, version ? if lib.versionAtLeast ocaml.version "4.08" then "1.16.5"
1111+, version ? if lib.versionAtLeast ocaml.version "4.08" then "1.17.0"
1212 else if lib.versionAtLeast ocaml.version "4.07" then "1.15.2" else "1.14.1"
1313}:
1414···1616let camlp5 = p5.override { legacy = true; }; in
17171818let fetched = coqPackages.metaFetch ({
1919+ release."1.17.0".sha256 = "sha256-DTxE8CvYl0et20pxueydI+WzraI6UPHMNvxyp2gU/+w=";
1920 release."1.16.5".sha256 = "sha256-tKX5/cVPoBeHiUe+qn7c5FIRYCwY0AAukN7vSd/Nz9A=";
2021 release."1.15.2".sha256 = "sha256-XgopNP83POFbMNyl2D+gY1rmqGg03o++Ngv3zJfCn2s=";
2122 release."1.15.0".sha256 = "sha256:1ngdc41sgyzyz3i3lkzjhnj66gza5h912virkh077dyv17ysb6ar";
···3435 pname = "elpi";
3536 inherit (fetched) version src;
36373737- patches = lib.optional (lib.versionAtLeast version "1.16" || version == "dev")
3838+ patches = lib.optional (version == "1.16.5")
3839 ./atd_2_10.patch;
39404041 minimalOCamlVersion = "4.04";