maude: build of unstable beta version because it has less bugs in full-maude

svn path=/nixpkgs/trunk/; revision=12385
This commit is contained in:
Peter Simons 2008-07-18 20:11:12 +00:00
parent b64e42ce35
commit 057bd7c1c2
2 changed files with 22 additions and 9 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, gmp }:
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmp }:
stdenv.mkDerivation rec
{
@ -12,19 +12,32 @@ stdenv.mkDerivation rec
src = fetchurl
{
url = "http://www.csl.sri.com/users/eker/Maude/Alpha91/Maude-2.4.tar.gz";
sha256 = "1nzxj8x1379nxsdvldqy55wl513hdi4xwf8i2bhngz7s8228vs37";
sha256 = "1gvfzp10inhvzk2xnv128nmh38vw6si7hg72bxis3l4h8f6ki7l0";
};
fullMaude = fetchurl
{
url = "http://www.lcc.uma.es/~duran/FullMaude/FM23j/full-maude.maude";
sha256 = "2b069a351d39098d11e75dd9e5b772e0cf35843bf25f5dde45f6b700dd6445f4";
sha256 = "1x25ckfh1dzn8pg5spzj7f23bkz0favybnaxww8qs29r3lsrl1ib";
};
buildInputs = [flex bison ncurses buddy tecla gmp];
docs = fetchurl
{
url = "http://mirror.switch.ch/mirror/gentoo/distfiles/maude-2.3.0-extras.tar.bz2";
sha256 = "0kd5623k1wwj1rk4b6halrm3sdvd9kbiwg1hi2c3qim1nlfdgl0d";
};
buildInputs = [flex bison ncurses buddy tecla gmp libsigsegv];
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
doCheck = true;
# test suite failure in: unification
doCheck = false;
postInstall =
''
ensureDir $out/share/maude
cp src/Main/*.maude ${fullMaude} $out/share/maude/
cp src/Main/*.maude $out/share/maude/
cp ${fullMaude} $out/share/maude/full-maude.maude
ensureDir $out/share/doc/maude
tar xf ${docs}
rm -f maude-2.3.0-extras/full-maude.maude
mv maude-2.3.0-extras/pdfs $out/share/doc/maude/pdf
mv maude-2.3.0-extras/* $out/share/doc/maude/
'';
}

View File

@ -1838,9 +1838,9 @@ let pkgs = rec {
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp;
};
maudeUnstable = import ../development/interpreters/maude/unstable.nix {
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp;
};
maudeUnstable = lowPrio (import ../development/interpreters/maude/unstable.nix {
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp libsigsegv;
});
octave = import ../development/interpreters/octave {
inherit stdenv fetchurl readline ncurses perl flex;