* Removed $installCommand, it's no longer needed since we split the
install and fixup phases. You can just override installPhase. svn path=/nixpkgs/trunk/; revision=12787
This commit is contained in:
@@ -1,29 +1,32 @@
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "EProver-0.999";
|
||||
|
||||
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";
|
||||
};
|
||||
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";
|
||||
};
|
||||
|
||||
buildInputs =[which texLive];
|
||||
buildInputs = [which texLive];
|
||||
|
||||
preConfigure = "sed -e 's@^EXECPATH\\s.*@EXECPATH = '\$out'/bin@' -i Makefile.vars";
|
||||
|
||||
buildPhase = "make install";
|
||||
|
||||
# HOME=. allows to build missing TeX formats
|
||||
installCommand = "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; ";
|
||||
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
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "
|
||||
E automated theorem prover.
|
||||
";
|
||||
description = "E automated theorem prover";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user