2022-01-02 10:16:27 +00:00
|
|
|
{ lib, stdenv, fetchurl, which, enableHO ? false }:
|
2018-02-14 22:46:12 +00:00
|
|
|
|
2016-09-20 15:56:41 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "eprover";
|
2021-06-23 11:11:41 +00:00
|
|
|
version = "2.6";
|
2007-10-07 13:37:08 +00:00
|
|
|
|
2008-09-02 13:51:32 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
|
2021-06-23 11:11:41 +00:00
|
|
|
sha256 = "sha256-qh896qIpFR5g1gdWAwGkbNJLBqUQCeCpuoYHHkDXPt0=";
|
2008-09-02 13:51:32 +00:00
|
|
|
};
|
2007-10-07 13:37:08 +00:00
|
|
|
|
2015-06-25 21:21:25 +00:00
|
|
|
buildInputs = [ which ];
|
2007-10-07 13:37:08 +00:00
|
|
|
|
2016-02-29 14:35:21 +00:00
|
|
|
preConfigure = ''
|
2018-02-14 22:46:12 +00:00
|
|
|
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
|
2016-02-29 14:35:21 +00:00
|
|
|
'';
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--exec-prefix=$(out)"
|
|
|
|
"--man-prefix=$(out)/share/man"
|
2022-01-02 10:16:27 +00:00
|
|
|
] ++ lib.optionals enableHO [
|
|
|
|
"--enable-ho"
|
2018-07-25 21:44:21 +00:00
|
|
|
];
|
2007-10-07 13:37:08 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-25 21:21:25 +00:00
|
|
|
description = "Automated theorem prover for full first-order logic with equality";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.eprover.org/";
|
2016-09-20 15:56:41 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ raskin gebner ];
|
|
|
|
platforms = platforms.all;
|
2007-10-07 13:37:08 +00:00
|
|
|
};
|
|
|
|
}
|