nixpkgs/pkgs/applications/science/logic/eprover/default.nix
2019-11-01 14:00:31 -07:00

30 lines
752 B
Nix

{ stdenv, fetchurl, which }:
stdenv.mkDerivation rec {
pname = "eprover";
version = "2.4";
src = fetchurl {
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
sha256 = "1xn5yypy6w36amsb3kvj1srlbv6v5dl51k64cd264asz2n469dxw";
};
buildInputs = [ which ];
preConfigure = ''
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
'';
configureFlags = [
"--exec-prefix=$(out)"
"--man-prefix=$(out)/share/man"
];
meta = with stdenv.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;
};
}