* Fixed Stratego.
* Added Zoom, an interpreter for Z-Code. svn path=/nixpkgs/trunk/; revision=894
This commit is contained in:
parent
8e4d58631e
commit
e50417845d
@ -104,6 +104,10 @@ ELSE IF it's DATA (i.e., doe not have a straight-forward executable semantics):
|
|||||||
ELSE IF it's an XSLT stylesheet (okay, these are executable...):
|
ELSE IF it's an XSLT stylesheet (okay, these are executable...):
|
||||||
./data/sgml+xml/stylesheets/xslt
|
./data/sgml+xml/stylesheets/xslt
|
||||||
|
|
||||||
|
ELSE IF it's a GAME:
|
||||||
|
|
||||||
|
./games
|
||||||
|
|
||||||
ELSE:
|
ELSE:
|
||||||
|
|
||||||
./misc
|
./misc
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{stdenv, fetchurl, aterm, sdf}:
|
{stdenv, fetchurl, aterm, sdf}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "strategoxt-0.9.4";
|
name = "strategoxt-0.9.5";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.4.tar.gz;
|
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.5.tar.gz;
|
||||||
md5 = "b61aee784cebac6cce0d96383bdb1b37";
|
md5 = "c3caea5c05f8d8439450866b6d5664df";
|
||||||
};
|
};
|
||||||
inherit aterm sdf;
|
inherit aterm sdf;
|
||||||
}
|
}
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
{stdenv, fetchurl, aterm, sdf}: derivation {
|
|
||||||
name = "strategoxt-0.9.3";
|
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
|
||||||
src = fetchurl {
|
|
||||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.3.tar.gz;
|
|
||||||
md5 = "3425e7ae896426481bd258817737e3d6";
|
|
||||||
};
|
|
||||||
stdenv = stdenv;
|
|
||||||
aterm = aterm;
|
|
||||||
sdf = sdf;
|
|
||||||
tarfile = "true";
|
|
||||||
dir = "strategoxt";
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
{stdenv, fetchurl, aterm, sdf}: derivation {
|
|
||||||
name = "strategoxt-0.9.5";
|
|
||||||
system = stdenv.system;
|
|
||||||
builder = ./builder.sh;
|
|
||||||
src = fetchurl {
|
|
||||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.5.tar.gz;
|
|
||||||
md5 = "c3caea5c05f8d8439450866b6d5664df";
|
|
||||||
};
|
|
||||||
inherit stdenv aterm sdf;
|
|
||||||
tarfile = "true";
|
|
||||||
dir = "strategoxt";
|
|
||||||
}
|
|
@ -9,5 +9,6 @@ stdenv.mkDerivation {
|
|||||||
url = http://freedesktop.org/~xlibs/release/libXft-2.1.6.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/libXft-2.1.6.tar.bz2;
|
||||||
md5 = "ba10c9c3f4758f304f04f8d48e2f81a4";
|
md5 = "ba10c9c3f4758f304f04f8d48e2f81a4";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig libX11 libXrender freetype fontconfig];
|
buildInputs = [pkgconfig];
|
||||||
|
propagatedBuildInputs = [libX11 libXrender freetype fontconfig];
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,6 @@ stdenv.mkDerivation {
|
|||||||
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXrender-0.8.4.tar.bz2;
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXrender-0.8.4.tar.bz2;
|
||||||
md5 = "c745339dbe5f05cff8950b71a739e34c";
|
md5 = "c745339dbe5f05cff8950b71a739e34c";
|
||||||
};
|
};
|
||||||
buildInputs = [pkgconfig libX11 renderext];
|
buildInputs = [pkgconfig];
|
||||||
propagatedBuildInputs = [];
|
propagatedBuildInputs = [libX11 renderext];
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
buildinputs="$aterm $getopt"
|
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
tar zxf $src
|
configureFlags="--with-aterm=$aterm"
|
||||||
cd sdf2-bundle-*
|
|
||||||
./configure --prefix=$out --with-aterm=$aterm
|
|
||||||
make install
|
|
||||||
|
|
||||||
mkdir $out/nix-support
|
genericBuild
|
||||||
echo "$getopt" > $out/nix-support/propagated-build-inputs
|
|
@ -1,11 +1,13 @@
|
|||||||
{stdenv, fetchurl, aterm, getopt}:
|
{stdenv, fetchurl, aterm, getopt}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sdf2-1.6";
|
name = "sdf2-2.0.1";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-1.6.tar.gz;
|
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-2.0.1.tar.gz;
|
||||||
md5 = "283be0b4c7c9575c1b5cc735316e6192";
|
md5 = "ceba34dc8e53fba04ad3be73627f0a20";
|
||||||
};
|
};
|
||||||
aterm = aterm;
|
buildInputs = [aterm];
|
||||||
getopt = getopt;
|
propagatedBuildInputs = [getopt];
|
||||||
|
inherit aterm;
|
||||||
}
|
}
|
||||||
|
@ -233,21 +233,6 @@ rec {
|
|||||||
sdf = sdf2;
|
sdf = sdf2;
|
||||||
};
|
};
|
||||||
|
|
||||||
strategoxt093 = (import ../development/compilers/strategoxt/strategoxt-0.9.3.nix) {
|
|
||||||
inherit fetchurl stdenv aterm;
|
|
||||||
sdf = sdf2;
|
|
||||||
};
|
|
||||||
|
|
||||||
strategoxt094 = (import ../development/compilers/strategoxt/strategoxt-0.9.4.nix) {
|
|
||||||
inherit fetchurl stdenv aterm;
|
|
||||||
sdf = sdf2;
|
|
||||||
};
|
|
||||||
|
|
||||||
strategoxt095 = (import ../development/compilers/strategoxt/strategoxt-0.9.5.nix) {
|
|
||||||
inherit fetchurl stdenv aterm;
|
|
||||||
sdf = sdf2;
|
|
||||||
};
|
|
||||||
|
|
||||||
tiger = (import ../development/compilers/tiger) {
|
tiger = (import ../development/compilers/tiger) {
|
||||||
inherit fetchurl stdenv aterm strategoxt;
|
inherit fetchurl stdenv aterm strategoxt;
|
||||||
sdf = sdf2;
|
sdf = sdf2;
|
||||||
@ -747,6 +732,13 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
### GAMES
|
||||||
|
|
||||||
|
zoom = (import ../games/zoom) {
|
||||||
|
inherit fetchurl stdenv perl expat xlibs freetype;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
### MISC
|
### MISC
|
||||||
|
|
||||||
uml = (import ../misc/uml) {
|
uml = (import ../misc/uml) {
|
||||||
|
Loading…
Reference in New Issue
Block a user