2015-06-14 20:05:24 +00:00
|
|
|
{ stdenv, fetchurl, gmp, libantlr3c, boost, autoreconfHook }:
|
2015-06-14 19:35:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cvc4-${version}";
|
|
|
|
version = "1.4";
|
2014-10-12 00:01:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-14 19:35:29 +00:00
|
|
|
url = "http://cvc4.cs.nyu.edu/builds/src/cvc4-${version}.tar.gz";
|
2014-10-12 00:01:10 +00:00
|
|
|
sha256 = "093h7zgv4z4ad503j30dpn8k2pz9m90pvd7gi5axdmwsxgwlzzkn";
|
|
|
|
};
|
|
|
|
|
2015-06-14 20:05:24 +00:00
|
|
|
buildInputs = [ gmp libantlr3c boost autoreconfHook ];
|
2016-03-30 23:52:23 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs ./src/
|
|
|
|
OLD_CPPFLAGS="$CPPFLAGS"
|
|
|
|
export CPPFLAGS="$CPPFLAGS -P"
|
|
|
|
'';
|
|
|
|
postConfigure = ''CPPFLAGS="$OLD_CPPFLAGS"'';
|
2014-10-12 00:01:10 +00:00
|
|
|
doChecks = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-06-14 19:35:29 +00:00
|
|
|
description = "A high-performance theorem prover and SMT solver";
|
|
|
|
homepage = http://cvc4.cs.nyu.edu/web/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ vbgl thoughtpolice ];
|
2014-10-12 00:01:10 +00:00
|
|
|
};
|
|
|
|
}
|