2022-01-03 16:56:52 +00:00
|
|
|
{ lib, stdenv, fetchurl, which, enableHO ? false }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "eprover";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-qh896qIpFR5g1gdWAwGkbNJLBqUQCeCpuoYHHkDXPt0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
|
|
|
|
'';
|
|
|
|
configureFlags = [
|
|
|
|
"--exec-prefix=$(out)"
|
|
|
|
"--man-prefix=$(out)/share/man"
|
2022-01-03 16:56:52 +00:00
|
|
|
] ++ lib.optionals enableHO [
|
|
|
|
"--enable-ho"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|