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
820 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";
2023-12-09 18:57:23 +00:00
version = "3.0.03";
src = fetchurl {
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
2023-12-09 18:57:23 +00:00
hash = "sha256-cS5zUe2N9Kd9uzbNpeBtvLbgUN0c3N3tGcYczK3KsdQ=";
};
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;
};
}