addid nix expression for toolbus
svn path=/nixpkgs/trunk/; revision=5141
This commit is contained in:
parent
1b9e08ee8e
commit
144c22b2fe
@ -1,11 +1 @@
|
|||||||
{stdenv, fetchurl, toolbuslib, atermjava, aterm, yacc, flex} :
|
import ./toolbus-1.2.2.nix
|
||||||
|
|
||||||
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];
|
|
||||||
}
|
|
||||||
|
17
pkgs/development/interpreters/toolbus/toolbus-1.2.2.nix
Normal file
17
pkgs/development/interpreters/toolbus/toolbus-1.2.2.nix
Normal 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] ;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user