coqPackages.itauto: enable for Coq 8.18

This commit is contained in:
Vincent Laporte
2023-09-21 11:02:55 +02:00
committed by Vincent Laporte
parent 2abfae9e9b
commit 7c33c8d452
@@ -5,6 +5,7 @@
owner = "fbesson";
domain = "gitlab.inria.fr";
release."8.18.0".sha256 = "sha256-4mDDnKTeYrf27uRMkydQxO7j2tfgTFXOREW474d40eo=";
release."8.17.0".sha256 = "sha256-fgdnKchNT1Hyrq14gU8KWYnlSfg3qlsSw5A4+RoA26w=";
release."8.16.0".sha256 = "sha256-4zAUYGlw/pBcLPv2GroIduIlvbfi1+Vy+TdY8KLCqO4=";
release."8.15.0".sha256 = "sha256:10qpv4nx1p0wm9sas47yzsg9z22dhvizszfa21yff08a8fr0igya";
@@ -12,6 +13,7 @@
release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A=";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = isEq "8.18"; out = "8.18.0"; }
{ case = isEq "8.17"; out = "8.17.0"; }
{ case = isEq "8.16"; out = "8.16.0"; }
{ case = isEq "8.15"; out = "8.15.0"; }
@@ -33,4 +35,7 @@
}).overrideAttrs (o: lib.optionalAttrs
(o.version == "dev" || lib.versionAtLeast o.version "8.16") {
propagatedBuildInputs = [ coq.ocamlPackages.findlib ];
} // lib.optionalAttrs
(o.version == "dev" || lib.versionAtLeast o.version "8.18") {
nativeBuildInputs = with coq.ocamlPackages; [ ocaml findlib dune_3 ];
})