1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/applications/science/logic/verit/default.nix
Vladimír Čunát d0888d1503
treewide: fixup breakage due to absolute compiler path
Some packages just can't handle them #44767.  It was tempting to try
to abstract this in some way, but I didn't do that ATM.
2018-08-21 12:34:33 +02:00

37 lines
907 B
Nix

{ stdenv, fetchurl, autoreconfHook, gmp, flex, bison }:
stdenv.mkDerivation rec {
name = "veriT-${version}";
version = "2016";
src = fetchurl {
url = "http://www.verit-solver.org/distrib/veriT-stable2016.tar.gz";
sha256 = "0gvp4diz0qjg0y5ry0p1z7dkdkxw8l7jb8cdhvcnhl06jx977v4b";
};
nativeBuildInputs = [ autoreconfHook flex bison ];
buildInputs = [ gmp ];
# --disable-static actually enables static linking here...
dontDisableStatic = true;
preConfigure = ''
CC=${stdenv.cc.targetPrefix}gcc
CXX=${stdenv.cc.targetPrefix}g++
'';
makeFlags = [ "LEX=${flex}/bin/flex" ];
preInstall = ''
mkdir -p $out/bin
'';
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 ];
};
}