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

30 lines
842 B
Nix
Raw Normal View History

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