maude, tecla, buddy: new packages
Maude is a high-level specification language. Buddy and libtecla are required to build Maude. svn path=/nixpkgs/trunk/; revision=12358
This commit is contained in:
parent
db8241e430
commit
8d7fe32a0e
36
pkgs/development/interpreters/maude/default.nix
Normal file
36
pkgs/development/interpreters/maude/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, gmp }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
name = "maude-2.3";
|
||||
meta =
|
||||
{
|
||||
homepage = "http://maude.cs.uiuc.edu/";
|
||||
description = "Maude -- a high-level specification language";
|
||||
license = "GPLv2";
|
||||
};
|
||||
src = fetchurl
|
||||
{
|
||||
url = "http://maude.cs.uiuc.edu/download/current/Maude-2.3.tar.gz";
|
||||
sha256 = "1nzxj8x1379nxsdvldqy55wl513hdi4xwf8i2bhngz7s8228vs37";
|
||||
};
|
||||
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];
|
||||
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
|
||||
# Regression test suite says:
|
||||
# FAIL: metaWellFormed
|
||||
doCheck = false;
|
||||
postInstall =
|
||||
''
|
||||
ensureDir $out/share/maude
|
||||
ensureDir $out/share/doc/maude
|
||||
tar xf ${docs}
|
||||
mv src/Main/*.maude maude-2.3.0-extras/*.maude $out/share/maude/
|
||||
mv maude-2.3.0-extras/pdfs $out/share/doc/maude/pdf
|
||||
mv maude-2.3.0-extras/* $out/share/doc/maude/
|
||||
'';
|
||||
}
|
19
pkgs/development/libraries/buddy/default.nix
Normal file
19
pkgs/development/libraries/buddy/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
name = "buddy-2.4";
|
||||
meta =
|
||||
{
|
||||
homepage = "http://sourceforge.net/projects/buddy/";
|
||||
description = "binary decision diagram package";
|
||||
license = "as-is";
|
||||
};
|
||||
src = fetchurl
|
||||
{
|
||||
url = "mirror://sourceforge/buddy/${name}.tar.gz";
|
||||
sha256 = "0dl86l9xkl33wnkz684xa9axhcxx2zzi4q5lii0axnb9lsk81pyk";
|
||||
};
|
||||
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3 --disable-static";
|
||||
doCheck = true;
|
||||
}
|
18
pkgs/development/libraries/tecla/default.nix
Normal file
18
pkgs/development/libraries/tecla/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
name = "tecla-1.6.1";
|
||||
meta =
|
||||
{
|
||||
homepage = "http://www.astro.caltech.edu/~mcs/tecla/";
|
||||
description = "Tecla command-line editing library";
|
||||
license = "as-is";
|
||||
};
|
||||
src = fetchurl
|
||||
{
|
||||
url = "http://www.astro.caltech.edu/~mcs/tecla/lib${name}.tar.gz";
|
||||
sha256 = "18crv6q5f9g0cg6ry5h9dsa10inhpslklrv20h70f58lpm3jknr1";
|
||||
};
|
||||
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
|
||||
}
|
@ -1834,6 +1834,10 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv ncurses readline;
|
||||
};
|
||||
|
||||
maude = import ../development/interpreters/maude {
|
||||
inherit fetchurl stdenv flex bison ncurses buddy tecla gmp;
|
||||
};
|
||||
|
||||
octave = import ../development/interpreters/octave {
|
||||
inherit stdenv fetchurl readline ncurses perl flex;
|
||||
g77 = g77_42;
|
||||
@ -2412,6 +2416,10 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv icu zlib bzip2 python;
|
||||
};
|
||||
|
||||
buddy = import ../development/libraries/buddy {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
cairo = import ../development/libraries/cairo {
|
||||
inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng;
|
||||
inherit (xlibs) pixman;
|
||||
@ -3395,6 +3403,10 @@ let pkgs = rec {
|
||||
qt = qt4;
|
||||
};
|
||||
|
||||
tecla = import ../development/libraries/tecla {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
telepathy_gabble = import ../development/libraries/telepathy-gabble {
|
||||
inherit fetchurl stdenv pkgconfig libxslt telepathy_glib loudmouth;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user