2019-03-09 00:07:18 +00:00
|
|
|
{ stdenv, fetchurl, haskell, spass }:
|
2015-11-27 07:55:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "system-for-automated-deduction-2.3.25";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://nevidal.org/download/sad-2.3-25.tar.gz";
|
|
|
|
sha256 = "10jd93xgarik7xwys5lq7fx4vqp7c0yg1gfin9cqfch1k1v8ap4b";
|
|
|
|
};
|
2019-03-09 00:07:18 +00:00
|
|
|
buildInputs = [ haskell.compiler.ghc844 spass ];
|
2018-08-09 20:09:12 +00:00
|
|
|
patches = [
|
|
|
|
./patch
|
|
|
|
# Since the LTS 12.0 update, <> is an operator in Prelude, colliding with
|
|
|
|
# the <> operator with a different meaning defined by this package
|
|
|
|
./monoid.patch
|
|
|
|
];
|
2015-11-27 07:55:56 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Alice/Main.hs --replace init.opt $out/init.opt
|
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/{bin,provers}
|
|
|
|
install alice $out/bin
|
|
|
|
install provers/moses $out/provers
|
|
|
|
substituteAll provers/provers.dat $out/provers/provers.dat
|
|
|
|
substituteAll init.opt $out/init.opt
|
|
|
|
cp -r examples $out
|
|
|
|
'';
|
|
|
|
inherit spass;
|
|
|
|
meta = {
|
|
|
|
description = "A program for automated proving of mathematical texts";
|
|
|
|
longDescription = ''
|
2018-08-09 20:09:12 +00:00
|
|
|
The system for automated deduction is intended for automated processing of formal mathematical texts
|
2015-11-27 07:55:56 +00:00
|
|
|
written in a special language called ForTheL (FORmal THEory Language) or in a traditional first-order language
|
|
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.schmitthenner ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://nevidal.org/sad.en.html";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-08-02 15:51:05 +00:00
|
|
|
};
|
2015-11-27 07:55:56 +00:00
|
|
|
}
|