2016-07-24 13:11:17 +02:00
|
|
|
{ stdenv, fetchurl, cln, gmp, swig, pkgconfig, readline, libantlr3c, boost, jdk, autoreconfHook, python2 }:
|
2015-06-14 21:35:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cvc4-${version}";
|
2016-07-24 13:11:17 +02:00
|
|
|
version = "1.5pre-smtcomp2016";
|
2014-10-12 02:01:10 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-14 21:35:29 +02:00
|
|
|
url = "http://cvc4.cs.nyu.edu/builds/src/cvc4-${version}.tar.gz";
|
2016-07-24 13:11:17 +02:00
|
|
|
sha256 = "15wz0plfc9q8acrwq1ljgsgqmh8pyz5alzv5xpchvv9w76lvj2zf";
|
2014-10-12 02:01:10 +02:00
|
|
|
};
|
|
|
|
|
2016-07-24 13:11:17 +02:00
|
|
|
buildInputs = [ gmp cln pkgconfig readline swig libantlr3c boost jdk autoreconfHook python2 ];
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-language-bindings=c,c++,java"
|
|
|
|
"--enable-gpl"
|
|
|
|
"--with-cln"
|
|
|
|
"--with-readline"
|
|
|
|
"--with-boost=${boost.dev}"
|
|
|
|
];
|
2016-03-31 01:52:23 +02:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs ./src/
|
|
|
|
'';
|
2014-10-12 02:01:10 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-06-14 21:35:29 +02:00
|
|
|
description = "A high-performance theorem prover and SMT solver";
|
|
|
|
homepage = http://cvc4.cs.nyu.edu/web/;
|
2016-07-24 13:11:17 +02:00
|
|
|
license = licenses.gpl3;
|
2015-06-14 21:35:29 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ vbgl thoughtpolice ];
|
2014-10-12 02:01:10 +02:00
|
|
|
};
|
|
|
|
}
|