diff --git a/pkgs/development/interpreters/toolbus/builder.sh b/pkgs/development/interpreters/toolbus/builder.sh new file mode 100644 index 000000000000..ecec00e817ce --- /dev/null +++ b/pkgs/development/interpreters/toolbus/builder.sh @@ -0,0 +1,9 @@ +source $stdenv/setup + +PATH=$aterm/bin:$atermjava/bin:$toolbuslib/bin:$yacc/bin:$flex/bin:$PATH + +tar xvfz $src +cd toolbus-* +./configure --prefix=$out +make +make install diff --git a/pkgs/development/interpreters/toolbus/default.nix b/pkgs/development/interpreters/toolbus/default.nix new file mode 100644 index 000000000000..3e55ad9bb516 --- /dev/null +++ b/pkgs/development/interpreters/toolbus/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, toolbuslib, atermjava, aterm, yacc, flex} : + +stdenv.mkDerivation { + name = "toolbus-1.2.2"; + builder = ./builder.sh; + src = fetchurl { + url = http://www.cwi.nl/projects/MetaEnv/toolbus/toolbus-1.2.2.tar.gz; + md5 = "887349b097006c0883e1948797349a50"; + }; + inherit toolbuslib atermjava aterm yacc flex; +} diff --git a/pkgs/development/interpreters/toolbus/test.nix b/pkgs/development/interpreters/toolbus/test.nix new file mode 100644 index 000000000000..b2252a0cd61d --- /dev/null +++ b/pkgs/development/interpreters/toolbus/test.nix @@ -0,0 +1 @@ +(import ../../../../pkgs/system/i686-linux.nix).toolbus diff --git a/pkgs/development/libraries/toolbuslib/builder.sh b/pkgs/development/libraries/toolbuslib/builder.sh new file mode 100644 index 000000000000..062e1693b94d --- /dev/null +++ b/pkgs/development/libraries/toolbuslib/builder.sh @@ -0,0 +1,9 @@ +source $stdenv/setup + +PATH=$aterm/bin:$PATH +set +tar xvfz $src +cd toolbuslib-* +./configure --prefix=$out +make +make install diff --git a/pkgs/development/libraries/toolbuslib/default.nix b/pkgs/development/libraries/toolbuslib/default.nix new file mode 100644 index 000000000000..451efd551738 --- /dev/null +++ b/pkgs/development/libraries/toolbuslib/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, aterm} : + +stdenv.mkDerivation { +name = "toolbuslib-0.7.2"; +builder = ./builder.sh; +src = fetchurl { + url = http://www.cwi.nl/projects/MetaEnv/toolbuslib/toolbuslib-0.7.2.tar.gz; + md5 = "6619a155c6326d728d53c6901558e350"; + }; +inherit aterm; +} diff --git a/pkgs/development/libraries/toolbuslib/test.nix b/pkgs/development/libraries/toolbuslib/test.nix new file mode 100644 index 000000000000..53f968725d8b --- /dev/null +++ b/pkgs/development/libraries/toolbuslib/test.nix @@ -0,0 +1 @@ +(import ../../../../pkgs/system/i686-linux.nix).toolbuslib