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

32 lines
800 B
Nix
Raw Normal View History

2015-08-26 03:31:39 -04:00
{ stdenv, fetchurl, autoreconfHook, gmp, flex, bison }:
2015-03-31 03:14:38 -04:00
stdenv.mkDerivation rec {
name = "veriT-${version}";
2015-08-26 03:31:39 -04:00
version = "201506";
2015-03-31 03:14:38 -04:00
src = fetchurl {
url = "http://www.verit-solver.org/distrib/${name}.tar.gz";
2015-08-26 03:31:39 -04:00
sha256 = "1cc9gcspw3namkdfypkians2j5dn224dsw6xx95qicad6033bsgk";
2015-03-31 03:14:38 -04:00
};
2015-08-26 03:31:39 -04:00
nativeBuildInputs = [ autoreconfHook flex bison ];
buildInputs = [ gmp ];
2015-03-31 03:14:38 -04:00
2016-05-08 09:10:08 -04:00
# --disable-static actually enables static linking here...
dontDisableStatic = true;
2015-08-26 03:31:39 -04:00
makeFlags = [ "LEX=${flex}/bin/flex" ];
2015-03-31 03:14:38 -04:00
2015-08-26 03:31:39 -04:00
preInstall = ''
mkdir -p $out/bin
2015-03-31 03:14:38 -04: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 ];
};
}