1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/science/logic/cvc4/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, cln, gmp, swig, pkgconfig
, readline, libantlr3c, boost, jdk, autoreconfHook
2018-07-05 16:55:42 +01:00
, python3, antlr3_4
}:
stdenv.mkDerivation rec {
name = "cvc4-${version}";
2018-07-05 16:55:42 +01:00
version = "1.6";
src = fetchurl {
url = "https://cvc4.cs.stanford.edu/downloads/builds/src/cvc4-${version}.tar.gz";
2018-07-05 16:55:42 +01:00
sha256 = "1iw793zsi48q91lxpf8xl8lnvv0jsj4whdad79rakywkm1gbs62w";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2018-07-05 16:55:42 +01:00
buildInputs = [ gmp cln readline swig libantlr3c antlr3_4 boost jdk python3 ];
2016-07-24 12:11:17 +01:00
configureFlags = [
"--enable-language-bindings=c,c++,java"
"--enable-gpl"
"--with-cln"
"--with-readline"
"--with-boost=${boost.dev}"
];
2017-11-08 18:20:50 +00:00
prePatch = ''
patch -p1 -i ${./minisat-fenv.patch} -d src/prop/minisat
patch -p1 -i ${./minisat-fenv.patch} -d src/prop/bvminisat
'';
preConfigure = ''
patchShebangs ./src/
'';
2017-11-08 18:16:16 +00:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A high-performance theorem prover and SMT solver";
2018-07-16 15:58:22 +01:00
homepage = http://cvc4.cs.stanford.edu/web/;
2016-07-24 12:11:17 +01:00
license = licenses.gpl3;
platforms = platforms.unix;
2018-07-05 16:55:42 +01:00
maintainers = with maintainers; [ vbgl thoughtpolice gebner ];
};
}