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

31 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}";
2017-09-05 13:59:07 +02:00
version = "2.0";
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";
};
2015-06-25 23:21:25 +02:00
buildInputs = [ which ];
2016-02-29 15:35:21 +01:00
preConfigure = ''
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;
};
}