depot/third_party/nixpkgs/pkgs/applications/science/logic/eprover/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

31 lines
819 B
Nix

{ lib, stdenv, fetchurl, which, enableHO ? false }:
stdenv.mkDerivation rec {
pname = "eprover";
version = "2.6";
src = fetchurl {
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
sha256 = "sha256-qh896qIpFR5g1gdWAwGkbNJLBqUQCeCpuoYHHkDXPt0=";
};
buildInputs = [ which ];
preConfigure = ''
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
'';
configureFlags = [
"--exec-prefix=$(out)"
"--man-prefix=$(out)/share/man"
] ++ lib.optionals enableHO [
"--enable-ho"
];
meta = with lib; {
description = "Automated theorem prover for full first-order logic with equality";
homepage = "http://www.eprover.org/";
license = licenses.gpl2;
maintainers = with maintainers; [ raskin gebner ];
platforms = platforms.all;
};
}