mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
f79b811f2d
Using eprover as automated theorem prover for sledgehammer requires this option.
32 lines
819 B
Nix
32 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;
|
|
};
|
|
}
|