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

30 lines
842 B
Nix
Raw Normal View History

2015-06-25 22:21:25 +01:00
{ stdenv, fetchurl, which }:
2016-09-20 16:56:41 +01:00
stdenv.mkDerivation rec {
name = "eprover-${version}";
version = "1.9.1";
src = fetchurl {
2016-09-20 16:56:41 +01:00
url = "http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
sha256 = "1vi977mdfqnj04m590aw4896nqzlc4c5rqadjzk86z1zvj7mqnqw";
};
2015-06-25 22:21:25 +01:00
buildInputs = [ which ];
2016-02-29 14:35:21 +00:00
preConfigure = ''
2016-09-20 16:56:41 +01:00
sed -e 's/ *CC *= gcc$//' -i Makefile.vars
2016-02-29 14:35:21 +00:00
'';
2016-09-20 16:56:41 +01:00
configureFlags = "--exec-prefix=$(out) --man-prefix=$(out)/share/man";
2016-09-20 16:56:41 +01:00
postInstall = ''
sed -e s,EXECPATH=.\*,EXECPATH=$out/bin, -i $out/bin/eproof{,_ram}
'';
2016-09-20 16:56:41 +01:00
meta = with stdenv.lib; {
2015-06-25 22:21:25 +01:00
description = "Automated theorem prover for full first-order logic with equality";
2016-02-29 14:35:21 +00:00
homepage = http://www.eprover.org/;
2016-09-20 16:56:41 +01:00
license = licenses.gpl2;
maintainers = with maintainers; [ raskin gebner ];
platforms = platforms.all;
};
}