2023-07-15 17:15:38 +00:00
|
|
|
{ lib, callPackage, mkCoqDerivation, coq, version ? null }:
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
(mkCoqDerivation rec {
|
2021-07-03 03:11:41 +00:00
|
|
|
pname = "itauto";
|
|
|
|
owner = "fbesson";
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
release."8.17.0".sha256 = "sha256-fgdnKchNT1Hyrq14gU8KWYnlSfg3qlsSw5A4+RoA26w=";
|
2022-09-09 14:08:57 +00:00
|
|
|
release."8.16.0".sha256 = "sha256-4zAUYGlw/pBcLPv2GroIduIlvbfi1+Vy+TdY8KLCqO4=";
|
2022-05-18 14:49:53 +00:00
|
|
|
release."8.15.0".sha256 = "sha256:10qpv4nx1p0wm9sas47yzsg9z22dhvizszfa21yff08a8fr0igya";
|
|
|
|
release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9";
|
2021-07-03 03:11:41 +00:00
|
|
|
release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A=";
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2023-07-15 17:15:38 +00:00
|
|
|
{ case = isEq "8.17"; out = "8.17.0"; }
|
2022-09-09 14:08:57 +00:00
|
|
|
{ case = isEq "8.16"; out = "8.16.0"; }
|
2022-05-18 14:49:53 +00:00
|
|
|
{ case = isEq "8.15"; out = "8.15.0"; }
|
|
|
|
{ case = isEq "8.14"; out = "8.14.0"; }
|
2021-10-14 00:43:12 +00:00
|
|
|
{ case = isEq "8.13"; out = "8.13+no"; }
|
2021-07-03 03:11:41 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
mlPlugin = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]);
|
2021-07-03 03:11:41 +00:00
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
passthru.tests.suite = callPackage ./test.nix {};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-07-03 03:11:41 +00:00
|
|
|
description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support";
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
}).overrideAttrs (o: lib.optionalAttrs
|
|
|
|
(o.version == "dev" || lib.versionAtLeast o.version "8.16") {
|
|
|
|
propagatedBuildInputs = [ coq.ocamlPackages.findlib ];
|
|
|
|
})
|