2015-08-26 08:31:39 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, gmp, flex, bison }:
|
2015-03-31 08:14:38 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "veriT-${version}";
|
2017-02-01 18:43:02 +00:00
|
|
|
version = "2016";
|
2015-03-31 08:14:38 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-01 18:43:02 +00:00
|
|
|
url = "http://www.verit-solver.org/distrib/veriT-stable2016.tar.gz";
|
|
|
|
sha256 = "0gvp4diz0qjg0y5ry0p1z7dkdkxw8l7jb8cdhvcnhl06jx977v4b";
|
2015-03-31 08:14:38 +01:00
|
|
|
};
|
|
|
|
|
2015-08-26 08:31:39 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook flex bison ];
|
|
|
|
buildInputs = [ gmp ];
|
2015-03-31 08:14:38 +01:00
|
|
|
|
2016-05-08 14:10:08 +01:00
|
|
|
# --disable-static actually enables static linking here...
|
|
|
|
dontDisableStatic = true;
|
|
|
|
|
2015-08-26 08:31:39 +01:00
|
|
|
makeFlags = [ "LEX=${flex}/bin/flex" ];
|
2015-03-31 08:14:38 +01:00
|
|
|
|
2015-08-26 08:31:39 +01:00
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
2015-03-31 08:14:38 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open, trustable and efficient SMT-solver";
|
|
|
|
homepage = http://www.verit-solver.org/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.gebner ];
|
|
|
|
};
|
|
|
|
}
|