added maude beta version

svn path=/nixpkgs/trunk/; revision=12384
This commit is contained in:
Peter Simons 2008-07-18 20:11:02 +00:00
parent 9d741c88bf
commit b64e42ce35
2 changed files with 37 additions and 3 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, gmp }:
stdenv.mkDerivation rec
{
name = "maude-2.4-alpha-91";
meta =
{
homepage = "http://maude.cs.uiuc.edu/";
description = "Maude -- a high-level specification language";
license = "GPLv2";
};
src = fetchurl
{
url = "http://www.csl.sri.com/users/eker/Maude/Alpha91/Maude-2.4.tar.gz";
sha256 = "1nzxj8x1379nxsdvldqy55wl513hdi4xwf8i2bhngz7s8228vs37";
};
fullMaude = fetchurl
{
url = "http://www.lcc.uma.es/~duran/FullMaude/FM23j/full-maude.maude";
sha256 = "2b069a351d39098d11e75dd9e5b772e0cf35843bf25f5dde45f6b700dd6445f4";
};
buildInputs = [flex bison ncurses buddy tecla gmp];
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 ${fullMaude} $out/share/maude/
'';
}

View File

@ -1838,6 +1838,10 @@ 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;
};
octave = import ../development/interpreters/octave {
inherit stdenv fetchurl readline ncurses perl flex;
g77 = g77_42;