blob: 2f57fca9729742e17fb61147436e89be17c8de5f (
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
41
42
43
44
45
46
|
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "prover9";
version = "2009-11a";
src = fetchurl {
url = "https://www.cs.unm.edu/~mccune/mace4/download/LADR-2009-11A.tar.gz";
sha256 = "1l2i3d3h5z7nnbzilb6z92r0rbx0kh6yaxn2c5qhn3000xcfsay3";
};
hardeningDisable = [ "format" ];
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
'';
buildFlags = [ "all" ];
checkPhase = "make test1";
installPhase = ''
mkdir -p $out/bin
cp bin/* $out/bin
'';
meta = {
homepage = "https://www.cs.unm.edu/~mccune/mace4/";
license = "GPL";
description = "Automated theorem prover for first-order and equational logic";
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.
'';
platforms = lib.platforms.linux;
maintainers = [ ];
};
}
|