depot/pkgs/applications/science/logic/verit/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
799 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, gmp, flex, bison }:
stdenv.mkDerivation {
pname = "veriT";
version = "2021.06.2";
src = fetchurl {
url = "https://verit.loria.fr/download/2021.06.2/verit-2021.06.2-rmx.tar.gz";
sha256 = "1yjvvxnsix0rhilc81ycx1s85dymq366c6zh1hwwd8qxp7k1zca2";
};
nativeBuildInputs = [ autoreconfHook flex bison ];
buildInputs = [ gmp ];
# --disable-static actually enables static linking here...
dontDisableStatic = true;
makeFlags = [ "LEX=${flex}/bin/flex" ];
preInstall = ''
mkdir -p $out/bin
'';
meta = with lib; {
description = "Open, trustable and efficient SMT-solver";
homepage = "https://verit.loria.fr/";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.gebner ];
};
}