2011-01-24 20:57:15 +01:00
|
|
|
{ stdenv, fetchurl, unzip, jdk, pkgconfig, gtk
|
|
|
|
, libXtst
|
|
|
|
, libXi
|
|
|
|
, mesa
|
|
|
|
}:
|
2005-12-26 01:51:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-01-24 20:57:15 +01:00
|
|
|
name = "swt-3.6.1";
|
2005-12-26 01:51:24 +01:00
|
|
|
builder = ./builder.sh;
|
2011-01-24 20:57:15 +01:00
|
|
|
|
2005-12-26 01:51:24 +01:00
|
|
|
# Alas, the Eclipse Project apparently doesn't produce source-only
|
|
|
|
# releases of SWT. So we just grab a binary release and extract
|
|
|
|
# "src.zip" from that.
|
|
|
|
src = fetchurl {
|
2011-01-24 20:57:15 +01:00
|
|
|
url = http://eclipse.ialto.com/eclipse/downloads/drops/R-3.6.1-201009090800/swt-3.6.1-gtk-linux-x86.zip;
|
|
|
|
sha1 = "e629e0b65296b67931f1fce8ab72419818c9747f";
|
2005-12-26 01:51:24 +01:00
|
|
|
};
|
2011-01-24 20:57:15 +01:00
|
|
|
|
|
|
|
buildInputs = [unzip jdk pkgconfig gtk libXtst libXi mesa];
|
|
|
|
inherit jdk;
|
2005-12-26 01:51:24 +01:00
|
|
|
}
|