nixpkgs/pkgs/applications/science/logic/prover9/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

46 lines
1.1 KiB
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "prover9-2009-11a";
src = fetchurl {
url = http://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 = http://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 = stdenv.lib.platforms.linux;
maintainers = [];
};
}