diff options
author | Martin Bravenboer | 2004-01-22 19:09:49 +0000 |
---|---|---|
committer | Martin Bravenboer | 2004-01-22 19:09:49 +0000 |
commit | 4c14c369feceffe1dd87c85d3dcd230772a69360 (patch) | |
tree | e8e0fa22aa666a2b332aadf3ac40b4b9d5a94aab | |
parent | 362cba8ada1e32a99dcd3dee7f1969982c31ab10 (diff) |
Added sglr
svn path=/nixpkgs/trunk/; revision=707
-rwxr-xr-x | pkgs/development/tools/parsing/pt-support/builder.sh | 2 | ||||
-rwxr-xr-x | pkgs/development/tools/parsing/sglr/builder.sh | 9 | ||||
-rw-r--r-- | pkgs/development/tools/parsing/sglr/sglr-3.10.2.nix | 13 | ||||
-rwxr-xr-x | pkgs/development/tools/parsing/toolbuslib/builder.sh | 2 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 8 |
5 files changed, 32 insertions, 2 deletions
diff --git a/pkgs/development/tools/parsing/pt-support/builder.sh b/pkgs/development/tools/parsing/pt-support/builder.sh index 475cf2d5c6fe..a76e84c4bb41 100755 --- a/pkgs/development/tools/parsing/pt-support/builder.sh +++ b/pkgs/development/tools/parsing/pt-support/builder.sh @@ -1,6 +1,6 @@ #! /bin/sh -buildinputs="$aterm $getopt $toolbuslib" +buildinputs="$aterm $toolbuslib" . $stdenv/setup || exit 1 tar zxf $src || exit 1 diff --git a/pkgs/development/tools/parsing/sglr/builder.sh b/pkgs/development/tools/parsing/sglr/builder.sh new file mode 100755 index 000000000000..1b0d2d35a1a0 --- /dev/null +++ b/pkgs/development/tools/parsing/sglr/builder.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +buildinputs="$aterm $ptsupport $toolbuslib" +. $stdenv/setup || exit 1 + +tar zxf $src || exit 1 +cd sglr-* || exit 1 +./configure --prefix=$out --with-aterm=$aterm --with-toolbuslib=$toolbuslib --with-pt-support=$ptsupport || exit 1 +make install || exit 1 diff --git a/pkgs/development/tools/parsing/sglr/sglr-3.10.2.nix b/pkgs/development/tools/parsing/sglr/sglr-3.10.2.nix new file mode 100644 index 000000000000..fdce971e8de6 --- /dev/null +++ b/pkgs/development/tools/parsing/sglr/sglr-3.10.2.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, aterm, toolbuslib, ptsupport}: derivation { + name = "sglr-3.10.2"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://www.cwi.nl/projects/MetaEnv/sglr/sglr-3.10.2.tar.gz; + md5 = "39aa609be84115d7ddc56a6c74b792b7"; + }; + stdenv = stdenv; + aterm = aterm; + ptsupport = ptsupport; + toolbuslib = toolbuslib; +} diff --git a/pkgs/development/tools/parsing/toolbuslib/builder.sh b/pkgs/development/tools/parsing/toolbuslib/builder.sh index 6cf08490ae8b..bb5e4dc0c3a4 100755 --- a/pkgs/development/tools/parsing/toolbuslib/builder.sh +++ b/pkgs/development/tools/parsing/toolbuslib/builder.sh @@ -1,6 +1,6 @@ #! /bin/sh -buildinputs="$aterm $getopt" +buildinputs="$aterm" . $stdenv/setup || exit 1 tar zxf $src || exit 1 diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 3f14709817bf..9f9aa4cd0df3 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -261,6 +261,14 @@ toolbuslib = toolbuslib_0_5_1; }; + sglr_3_10_2 = (import ../development/tools/parsing/sglr/sglr-3.10.2.nix) { + fetchurl = fetchurl; + stdenv = stdenv; + aterm = aterm_2_0_5; + toolbuslib = toolbuslib_0_5_1; + ptsupport = pt_support_1_0; + }; + strategoxt = (import ../development/compilers/strategoxt) { fetchurl = fetchurl; stdenv = stdenv; |