2021-01-15 13:21:58 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2010-08-26 12:37:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-06-07 01:13:54 +01:00
|
|
|
name = "prover9-2009-11a";
|
2010-08-26 12:37:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://www.cs.unm.edu/~mccune/mace4/download/LADR-2009-11A.tar.gz";
|
2010-08-26 12:37:05 +01:00
|
|
|
sha256 = "1l2i3d3h5z7nnbzilb6z92r0rbx0kh6yaxn2c5qhn3000xcfsay3";
|
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2010-08-26 12:37:05 +01:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
RM=$(type -tp rm)
|
|
|
|
MV=$(type -tp mv)
|
|
|
|
CP=$(type -tp cp)
|
|
|
|
for f in Makefile */Makefile; do
|
|
|
|
substituteInPlace $f --replace "/bin/rm" "$RM" \
|
|
|
|
--replace "/bin/mv" "$MV" \
|
|
|
|
--replace "/bin/cp" "$CP";
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
buildFlags = [ "all" ];
|
2010-08-26 12:37:05 +01:00
|
|
|
|
2016-02-08 00:44:00 +00:00
|
|
|
checkPhase = "make test1";
|
|
|
|
|
2010-08-26 12:37:05 +01:00
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2010-08-26 12:37:05 +01:00
|
|
|
cp bin/* $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.cs.unm.edu/~mccune/mace4/";
|
2010-08-26 12:42:41 +01:00
|
|
|
license = "GPL";
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Automated theorem prover for first-order and equational logic";
|
2010-08-26 12:37:05 +01:00
|
|
|
longDescription = ''
|
|
|
|
Prover9 is a resolution/paramodulation automated theorem prover
|
|
|
|
for first-order and equational logic. Prover9 is a successor of
|
|
|
|
the Otter Prover. This is the LADR command-line version.
|
|
|
|
'';
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2010-08-26 12:37:05 +01:00
|
|
|
maintainers = [];
|
|
|
|
};
|
|
|
|
}
|