depot/third_party/nixpkgs/pkgs/applications/science/logic/verit/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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 ];
};
}