maudeUnstable: updated full-maude to latest alpha release

svn path=/nixpkgs/trunk/; revision=13017
This commit is contained in:
Peter Simons 2008-10-09 10:10:49 +00:00
parent 839be39796
commit f1328839d4
2 changed files with 15 additions and 14 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmp }:
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmp, unzip }:
stdenv.mkDerivation rec {
name = "maude-2.4-alpha-91c";
@ -12,21 +12,22 @@ stdenv.mkDerivation rec {
sha256 = "0z25rrmg1b317xba2aqir5719js2ig3k20n1pvq3qvlzg51b6wp1";
};
fullMaude = fetchurl {
url = "http://www.lcc.uma.es/~duran/FullMaude/FM23j/full-maude.maude";
sha256 = "1x25ckfh1dzn8pg5spzj7f23bkz0favybnaxww8qs29r3lsrl1ib";
url = "http://www.lcc.uma.es/~duran/FullMaude/FM23l/full-maude.maude.zip";
sha256 = "08m54dskj2c6x00a5l5x1my88na4x8wmm048g0srsknhv5j91lf2";
};
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];
buildInputs = [flex bison unzip ncurses buddy tecla gmp libsigsegv];
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
doCheck = true;
postInstall =
''
ensureDir $out/share/maude
cp src/Main/*.maude $out/share/maude/
cp ${fullMaude} $out/share/maude/full-maude.maude
unzip -aa ${fullMaude}
mv full-maude.maude $out/share/maude/full-maude.maude
ensureDir $out/share/doc/maude
tar xf ${docs}

View File

@ -1961,7 +1961,7 @@ let
};
maudeUnstable = lowPrio (import ../development/interpreters/maude/unstable.nix {
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp libsigsegv;
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp libsigsegv unzip;
});
octave = import ../development/interpreters/octave {