mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
18 lines
570 B
Nix
18 lines
570 B
Nix
|
{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] ;
|
||
|
}
|