diff options
-rwxr-xr-x | pkgs/development/tools/parsing/toolbuslib/builder.sh | 9 | ||||
-rw-r--r-- | pkgs/development/tools/parsing/toolbuslib/toolbuslib-0.5.1.nix | 11 | ||||
-rw-r--r-- | pkgs/system/all-packages-generic.nix | 6 |
3 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/toolbuslib/builder.sh b/pkgs/development/tools/parsing/toolbuslib/builder.sh new file mode 100755 index 0000000000000..6cf08490ae8b8 --- /dev/null +++ b/pkgs/development/tools/parsing/toolbuslib/builder.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +buildinputs="$aterm $getopt" +. $stdenv/setup || exit 1 + +tar zxf $src || exit 1 +cd toolbuslib-* || exit 1 +./configure --prefix=$out --with-aterm=$aterm || exit 1 +make install || exit 1 diff --git a/pkgs/development/tools/parsing/toolbuslib/toolbuslib-0.5.1.nix b/pkgs/development/tools/parsing/toolbuslib/toolbuslib-0.5.1.nix new file mode 100644 index 0000000000000..7422b294cff6c --- /dev/null +++ b/pkgs/development/tools/parsing/toolbuslib/toolbuslib-0.5.1.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, aterm}: derivation { + name = "toolbuslib-0.5.1"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://www.cwi.nl/projects/MetaEnv/toolbuslib/toolbuslib-0.5.1.tar.gz; + md5 = "1c7c7cce870f813bef60bbffdf061c90"; + }; + stdenv = stdenv; + aterm = aterm; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 4f07e585e57b7..d6b7c24132efd 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -248,6 +248,12 @@ getopt = getopt; }; + toolbuslib051 = (import ../development/tools/parsing/toolbuslib/toolbuslib-0.5.1.nix) { + fetchurl = fetchurl; + stdenv = stdenv; + aterm = aterm205; + }; + strategoxt = (import ../development/compilers/strategoxt) { fetchurl = fetchurl; stdenv = stdenv; |