f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
34 lines
983 B
Nix
34 lines
983 B
Nix
{ lib, stdenv, fetchFromGitHub, cudd, gmp-static, gperf, autoreconfHook, libpoly }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "yices";
|
|
version = "2.6.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SRI-CSL";
|
|
repo = "yices2";
|
|
rev = "Yices-${version}";
|
|
hash = "sha256-/sKyHkFW5I5kojNIRPEKojzTvfRZiyVIN5VlBIbAV7k=";
|
|
};
|
|
|
|
postPatch = "patchShebangs tests/regress/check.sh";
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ cudd gmp-static gperf libpoly ];
|
|
configureFlags =
|
|
[ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a"
|
|
"--with-static-gmp-include-dir=${gmp-static.dev}/include"
|
|
"--enable-mcsat"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "High-performance theorem prover and SMT solver";
|
|
homepage = "https://yices.csl.sri.com";
|
|
license = licenses.gpl3;
|
|
platforms = with platforms; linux ++ darwin;
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|