nixpkgs/pkgs/applications/science/logic/cvc4/default.nix

32 lines
950 B
Nix
Raw Normal View History

2016-07-24 13:11:17 +02:00
{ stdenv, fetchurl, cln, gmp, swig, pkgconfig, readline, libantlr3c, boost, jdk, autoreconfHook, python2 }:
stdenv.mkDerivation rec {
name = "cvc4-${version}";
2016-07-24 13:11:17 +02:00
version = "1.5pre-smtcomp2016";
src = fetchurl {
url = "http://cvc4.cs.nyu.edu/builds/src/cvc4-${version}.tar.gz";
2016-07-24 13:11:17 +02:00
sha256 = "15wz0plfc9q8acrwq1ljgsgqmh8pyz5alzv5xpchvv9w76lvj2zf";
};
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}"
];
preConfigure = ''
patchShebangs ./src/
'';
meta = with stdenv.lib; {
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;
platforms = platforms.unix;
maintainers = with maintainers; [ vbgl thoughtpolice ];
};
}