2007-03-17 14:29:15 +01:00
|
|
|
{fetchurl, stdenv, makeWrapper, jdk, gtk, glib, libXtst, plugins ? []}:
|
|
|
|
|
|
|
|
let {
|
|
|
|
body =
|
|
|
|
stdenv.mkDerivation {
|
2007-10-30 23:15:39 +01:00
|
|
|
name = "eclipse-sdk-3.3.3.1";
|
2007-03-17 14:29:15 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = bindist;
|
2008-01-23 19:11:03 +01:00
|
|
|
buildInputs = [makeWrapper];
|
|
|
|
inherit jdk plugins;
|
2007-03-17 14:29:15 +01:00
|
|
|
libraries = [gtk glib libXtst];
|
|
|
|
};
|
|
|
|
|
|
|
|
bindist =
|
2008-01-15 01:55:21 +01:00
|
|
|
if (stdenv.system == "x86_64-linux") then fetchurl {
|
|
|
|
url = "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-SDK-3.3.1.1-linux-gtk-x86_64.tar.gz";
|
|
|
|
sha256 = "3fec49e95c45b56ad77b2bd15616af9d1fa6c3b338d4c70b497ecdc974c0b030";
|
|
|
|
} else fetchurl {
|
2007-10-30 23:15:39 +01:00
|
|
|
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-SDK-3.3.1.1-linux-gtk.tar.gz;
|
|
|
|
sha256 = "409e47745c92ff8ea8b2037104ec90c2f8ce3edb3563fdb312d55e1bbd2ada01";
|
2007-03-17 14:29:15 +01:00
|
|
|
};
|
|
|
|
}
|