2007-10-07 15:37:08 +02:00
|
|
|
args: with args;
|
2008-09-02 15:51:32 +02:00
|
|
|
|
2007-10-07 15:37:08 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "EProver-0.999";
|
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
src = fetchurl {
|
|
|
|
name = "E-0.999.tar.gz";
|
|
|
|
url = http://www4.informatik.tu-muenchen.de/~schulz/WORK/E_DOWNLOAD/V_0.999/E.tgz;
|
|
|
|
sha256 = "1zm1xip840hlam60kqk6xf0ikvyk7ch3ql1ac6wb68dx2l6hyhxv";
|
|
|
|
};
|
2007-10-07 15:37:08 +02:00
|
|
|
|
2008-09-02 15:51:32 +02:00
|
|
|
buildInputs = [which texLive];
|
2007-10-07 15:37:08 +02:00
|
|
|
|
|
|
|
preConfigure = "sed -e 's@^EXECPATH\\s.*@EXECPATH = '\$out'/bin@' -i Makefile.vars";
|
|
|
|
|
|
|
|
buildPhase = "make install";
|
2008-05-10 11:19:50 +02:00
|
|
|
|
|
|
|
# HOME=. allows to build missing TeX formats
|
2008-09-02 15:51:32 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
make install-exec
|
|
|
|
HOME=. make documentation
|
|
|
|
mkdir -p $out/share/doc
|
|
|
|
cp -r DOC $out/share/doc/EProver
|
|
|
|
echo eproof -xAuto --tstp-in --tstp-out '"$@"' > $out/bin/eproof-tptp
|
|
|
|
chmod a+x $out/bin/eproof-tptp
|
|
|
|
'';
|
2007-10-07 15:37:08 +02:00
|
|
|
|
|
|
|
meta = {
|
2008-09-02 15:51:32 +02:00
|
|
|
description = "E automated theorem prover";
|
2007-10-07 15:37:08 +02:00
|
|
|
};
|
|
|
|
}
|