blob: 97fe7065b85df543624fc2ecf5e8bb28ae53e847 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ stdenv, fetchurl, which }:
let
s = # Generated upstream information
rec {
baseName="eprover";
version="1.9";
name="${baseName}-${version}";
hash="0vipapqjg0339lpc98vpvz58m6xkqrhgxylmp0hrnld4lrhmcdn4";
url="http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_1.9/E.tgz";
sha256="0vipapqjg0339lpc98vpvz58m6xkqrhgxylmp0hrnld4lrhmcdn4";
};
in
stdenv.mkDerivation {
inherit (s) name;
src = fetchurl {
name = "E-${s.version}.tar.gz";
inherit (s) url sha256;
};
buildInputs = [ which ];
preConfigure = "sed -e 's@^EXECPATH\\s.*@EXECPATH = '\$out'/bin@' -i Makefile.vars";
buildPhase = "make install";
installPhase = ''
mkdir -p $out/bin
make install
echo eproof -xAuto --tstp-in --tstp-out '"$@"' > $out/bin/eproof-tptp
chmod a+x $out/bin/eproof-tptp
'';
meta = {
inherit (s) version;
description = "Automated theorem prover for full first-order logic with equality";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.all;
};
}
|