2022-04-27 09:35:20 +00:00
|
|
|
{ lib, stdenv, mkCoqDerivation, coq, trakt, cvc4, veriT, version ? null }:
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
pname = "smtcoq";
|
|
|
|
owner = "smtcoq";
|
|
|
|
|
|
|
|
release."itp22".rev = "1d60d37558d85a4bfd794220ec48849982bdc979";
|
|
|
|
release."itp22".sha256 = "sha256-CdPfgDfeJy8Q6ZlQeVCSR/x8ZlJ2kSEF6F5UnAespnQ=";
|
|
|
|
|
|
|
|
inherit version;
|
2022-05-18 14:49:53 +00:00
|
|
|
defaultVersion = with versions; switch coq.version [
|
|
|
|
{ case = isEq "8.13"; out = "itp22"; }
|
2022-04-27 09:35:20 +00:00
|
|
|
] null;
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [ trakt cvc4 ]
|
|
|
|
++ lib.optionals (!stdenv.isDarwin) [ veriT ]
|
|
|
|
++ (with coq.ocamlPackages; [ num zarith ]);
|
|
|
|
mlPlugin = true;
|
|
|
|
nativeBuildInputs = with coq.ocamlPackages; [ ocamlbuild ];
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Communication between Coq and SAT/SMT solvers ";
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
license = licenses.cecill-b;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|