From 340d4a6ddd7cb4812a618a22bb047e1554a33a28 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Aug 2010 11:37:05 +0000 Subject: pkgs/applications/science/logic/prover9: initial version svn path=/nixpkgs/trunk/; revision=23446 --- .../applications/science/logic/prover9/default.nix | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/applications/science/logic/prover9/default.nix (limited to 'pkgs/applications/science/logic/prover9') diff --git a/pkgs/applications/science/logic/prover9/default.nix b/pkgs/applications/science/logic/prover9/default.nix new file mode 100644 index 000000000000..b1890e646542 --- /dev/null +++ b/pkgs/applications/science/logic/prover9/default.nix @@ -0,0 +1,45 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "prover9"; + + src = fetchurl { + url = http://www.cs.unm.edu/~mccune/mace4/download/LADR-2009-11A.tar.gz; + sha256 = "1l2i3d3h5z7nnbzilb6z92r0rbx0kh6yaxn2c5qhn3000xcfsay3"; + }; + + phases = "unpackPhase patchPhase buildPhase installPhase"; + + 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"; + + installPhase = '' + ensureDir $out/bin + cp bin/* $out/bin + ''; + + meta = { + homepage = "http://hol.sourceforge.net/"; + license = "BSD"; + description = "Prover9 is an 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.unix; + maintainers = []; + }; +} -- cgit 1.4.1