nixpkgs/pkgs/applications/science/logic/eprover/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
819 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, which, enableHO ? false }:
2016-09-20 15:56:41 +00:00
stdenv.mkDerivation rec {
pname = "eprover";
2021-06-23 11:11:41 +00:00
version = "2.6";
src = fetchurl {
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=";
};
2015-06-25 21:21:25 +00:00
buildInputs = [ which ];
2016-02-29 14:35:21 +00:00
preConfigure = ''
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"
] ++ lib.optionals enableHO [
"--enable-ho"
2018-07-25 21:44:21 +00:00
];
meta = with lib; {
2015-06-25 21:21:25 +00:00
description = "Automated theorem prover for full first-order logic with equality";
homepage = "http://www.eprover.org/";
2016-09-20 15:56:41 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ raskin gebner ];
platforms = platforms.all;
};
}