2015-06-25 23:21:25 +02:00
|
|
|
{ stdenv, fetchurl, which }:
|
2018-02-14 23:46:12 +01:00
|
|
|
|
2016-09-20 17:56:41 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "eprover-${version}";
|
2017-09-05 13:59:07 +02:00
|
|
|
version = "2.0";
|
2007-10-07 15:37:08 +02:00
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
src = fetchurl {
|
2016-09-20 17:56:41 +02:00
|
|
|
url = "http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
|
2017-09-05 13:59:07 +02:00
|
|
|
sha256 = "1xmwr32pd8lv3f6yh720mdqhi3na505y3zbgcsgh2hwb7b5i3ngb";
|
2008-09-02 15:51:32 +02:00
|
|
|
};
|
2007-10-07 15:37:08 +02:00
|
|
|
|
2015-06-25 23:21:25 +02:00
|
|
|
buildInputs = [ which ];
|
2007-10-07 15:37:08 +02:00
|
|
|
|
2016-02-29 15:35:21 +01:00
|
|
|
preConfigure = ''
|
2018-02-14 23:46:12 +01: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";
|
2007-10-07 15:37:08 +02:00
|
|
|
|
2016-09-20 17:56:41 +02:00
|
|
|
postInstall = ''
|
|
|
|
sed -e s,EXECPATH=.\*,EXECPATH=$out/bin, -i $out/bin/eproof{,_ram}
|
2008-09-02 15:51:32 +02:00
|
|
|
'';
|
2007-10-07 15:37:08 +02:00
|
|
|
|
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;
|
2007-10-07 15:37:08 +02:00
|
|
|
};
|
|
|
|
}
|