2007-03-17 13:29:15 +00:00
|
|
|
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst, plugins ? []}:
|
|
|
|
|
|
|
|
let {
|
|
|
|
body =
|
|
|
|
stdenv.mkDerivation {
|
2008-03-11 13:40:27 +00:00
|
|
|
name = "eclipse-sdk-3.3.2";
|
2007-03-17 13:29:15 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = bindist;
|
2008-01-18 11:28:41 +00:00
|
|
|
buildInputs = [makeWrapper];
|
|
|
|
inherit jdk plugins;
|
2007-03-17 13:29:15 +00:00
|
|
|
libraries = [gtk glib libXtst];
|
|
|
|
};
|
|
|
|
|
|
|
|
bindist =
|
2007-12-10 19:58:36 +00:00
|
|
|
if (stdenv.system == "x86_64-linux") then fetchurl {
|
2008-03-11 13:40:27 +00:00
|
|
|
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.3.2-200802211800/eclipse-SDK-3.3.2-linux-gtk-x86_64.tar.gz;
|
|
|
|
sha256 = "fa7ff6fd17d053a53f743fa3d79493aa2e359402563cc736db9709a87826af21";
|
2007-12-10 19:58:36 +00:00
|
|
|
} else fetchurl {
|
2008-03-11 13:40:27 +00:00
|
|
|
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.3.2-200802211800/eclipse-SDK-3.3.2-linux-gtk.tar.gz;
|
|
|
|
sha256 = "624460c87f763b855fcddca86d969f2e4c730e654fe1a0dd69624afe576b13c8";
|
2007-03-17 13:29:15 +00:00
|
|
|
};
|
|
|
|
}
|