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";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-+E2z7JAkiNXhZrWRXFbhI5f9NmB0Q4eixab4GlAFqYY=";
|
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;
|
|
|
|
};
|
|
|
|
}
|