3
0
Fork 0
forked from mirrors/nixpkgs

addid nix expression for toolbus

svn path=/nixpkgs/trunk/; revision=5141
This commit is contained in:
Merijn de Jonge 2006-04-04 13:10:05 +00:00
parent 1b9e08ee8e
commit 144c22b2fe
2 changed files with 18 additions and 11 deletions

View file

@ -1,11 +1 @@
{stdenv, fetchurl, toolbuslib, atermjava, aterm, yacc, flex} :
stdenv.mkDerivation {
name = "toolbus-1.2.2";
src = fetchurl {
url = http://www.cwi.nl/projects/MetaEnv/toolbus/toolbus-1.2.2.tar.gz;
md5 = "887349b097006c0883e1948797349a50";
};
inherit toolbuslib atermjava aterm yacc flex;
buildInputs = [toolbuslib atermjava aterm yacc flex];
}
import ./toolbus-1.2.2.nix

View file

@ -0,0 +1,17 @@
{javaAdapter ? false,
jdk ? null,
stdenv, fetchurl, toolbuslib, atermjava, aterm, yacc, flex, tcltk} :
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";
};
java = if javaAdapter then true else false;
jdk = if javaAdapter then jdk else null;
inherit toolbuslib atermjava aterm yacc flex tcltk;
buildInputs = [toolbuslib atermjava aterm yacc flex jdk tcltk] ;
}