spass: 3.7 -> 3.9

This commit is contained in:
Gabriel Ebner 2016-06-21 08:18:20 +02:00
parent e5740b2e8e
commit 9c5588e99f

View file

@ -1,8 +1,11 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, bison, flex }:
let
baseVersion="3";
minorVersion="7";
minorVersion="9";
extraTools = "FLOTTER prolog2dfg dfg2otter dfg2dimacs dfg2tptp"
+ " dfg2ascii dfg2dfg tptp2dfg dimacs2dfg pgen rescmp";
in
stdenv.mkDerivation rec {
@ -11,16 +14,28 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://www.spass-prover.org/download/sources/spass${baseVersion}${minorVersion}.tgz";
sha256 = "1k5a98kr3vzga54zs7slwwaaf6v6agk1yfcayd8bl55q15g7xihk";
sha256 = "11cyn3kcff4r79rsw2s0xm6rdb8bi0kpkazv2b48jhcms7xw75qp";
};
sourceRoot = ".";
nativeBuildInputs = [ bison flex ];
buildPhase = ''
make RM="rm -f" proparser.c ${extraTools} opt
'';
installPhase = ''
mkdir -p $out/bin
install -m0755 SPASS ${extraTools} $out/bin/
'';
meta = with stdenv.lib; {
description = "An automated theorem preover for FOL";
description = "Automated theorem prover for first-order logic";
maintainers = with maintainers;
[
raskin
];
platforms = platforms.linux;
platforms = platforms.unix;
license = licenses.bsd2;
downloadPage = "http://www.spass-prover.org/download/index.html";
};