summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMerijn de Jonge2006-02-02 16:21:09 +0000
committerMerijn de Jonge2006-02-02 16:21:09 +0000
commitd1d0f290ad461cabf31e63949cb3f779b5be0bb5 (patch)
tree50d7519752a269171fad1d5c8cfb8c9bab2552a6 /pkgs
parent63868710304a011d38151236d67e01845fb5c958 (diff)
Added toolbuslib and toolbus packages
svn path=/nixpkgs/trunk/; revision=4677
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/toolbus/builder.sh9
-rw-r--r--pkgs/development/interpreters/toolbus/default.nix11
-rw-r--r--pkgs/development/interpreters/toolbus/test.nix1
-rw-r--r--pkgs/development/libraries/toolbuslib/builder.sh9
-rw-r--r--pkgs/development/libraries/toolbuslib/default.nix11
-rw-r--r--pkgs/development/libraries/toolbuslib/test.nix1
6 files changed, 42 insertions, 0 deletions
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