2017-05-20 15:00:39 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cln, gmp, swig, pkgconfig, readline, libantlr3c,
|
|
|
|
boost, jdk, autoreconfHook, python2, antlr3_4 }:
|
2015-06-14 21:35:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-20 15:00:39 +02:00
|
|
|
name = "cvc4-unstable-${version}";
|
|
|
|
version = "2017-05-18";
|
2014-10-12 02:01:10 +02:00
|
|
|
|
2017-05-20 15:00:39 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CVC4";
|
|
|
|
repo = "CVC4";
|
|
|
|
rev = "d77107cc56b0a089364c3d1512813701c155ea93";
|
|
|
|
sha256 = "085bjrrm33rl5pwqx13af9sgni9cfbg70wag6lm08jj41ws411xs";
|
2014-10-12 02:01:10 +02:00
|
|
|
};
|
|
|
|
|
2017-05-20 15:00:39 +02:00
|
|
|
buildInputs = [ gmp cln pkgconfig readline swig libantlr3c antlr3_4 boost jdk autoreconfHook python2 ];
|
2016-07-24 13:11:17 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|