2015-10-28 11:48:50 +01:00
|
|
|
{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook }:
|
2014-04-27 20:05:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "yices-${version}";
|
2016-10-26 16:36:06 +02:00
|
|
|
version = "2.5.1";
|
2014-04-27 20:05:35 +02:00
|
|
|
|
2015-06-14 21:56:49 +02:00
|
|
|
src = fetchurl {
|
2016-10-26 16:36:06 +02:00
|
|
|
url = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file=yices-${version}-src.tar.gz&accept=I+Agree";
|
2015-06-14 21:56:49 +02:00
|
|
|
name = "yices-${version}-src.tar.gz";
|
2016-10-26 16:36:06 +02:00
|
|
|
sha256 = "1wfq6hcm54h0mqmbs1ip63i0ywlwnciav86sbzk3gafxyzg1nd0c";
|
2015-06-14 21:56:49 +02:00
|
|
|
};
|
2014-04-27 20:05:35 +02:00
|
|
|
|
2015-10-28 11:48:50 +01:00
|
|
|
configureFlags = [ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a"
|
|
|
|
"--with-static-gmp-include-dir=${gmp-static.dev}/include"
|
2015-06-14 21:56:49 +02:00
|
|
|
];
|
2015-10-28 11:48:50 +01:00
|
|
|
buildInputs = [ gmp-static gperf autoreconfHook ];
|
2014-04-27 20:05:35 +02:00
|
|
|
|
|
|
|
meta = {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A high-performance theorem prover and SMT solver";
|
2014-04-27 20:05:35 +02:00
|
|
|
homepage = "http://yices.csl.sri.com";
|
|
|
|
license = stdenv.lib.licenses.unfreeRedistributable;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|