mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
e27e0ebe48
Signed-off-by: Austin Seipp <aseipp@pobox.com>
37 lines
999 B
Nix
37 lines
999 B
Nix
{ stdenv, fetchurl, cln, gmp, swig, pkgconfig
|
|
, readline, libantlr3c, boost, jdk, autoreconfHook
|
|
, python2, antlr3_4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cvc4-${version}";
|
|
version = "1.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://cvc4.cs.stanford.edu/downloads/builds/src/cvc4-${version}.tar.gz";
|
|
sha256 = "0yxxawgc9vd2cz883swjlm76rbdkj48n7a8dfppsami530y2rvhi";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ gmp cln readline swig libantlr3c antlr3_4 boost jdk python2 ];
|
|
configureFlags = [
|
|
"--enable-language-bindings=c,c++,java"
|
|
"--enable-gpl"
|
|
"--with-cln"
|
|
"--with-readline"
|
|
"--with-boost=${boost.dev}"
|
|
];
|
|
|
|
preConfigure = ''
|
|
patchShebangs ./src/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A high-performance theorem prover and SMT solver";
|
|
homepage = http://cvc4.cs.nyu.edu/web/;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ vbgl thoughtpolice ];
|
|
};
|
|
}
|