nixpkgs/pkgs/development/libraries/java/swt/default.nix
David Guibert 4f50c9147f update swt from 3.1.1 to 3.6.1
svn path=/nixpkgs/trunk/; revision=25682
2011-01-24 19:57:15 +00:00

22 lines
576 B
Nix

{ stdenv, fetchurl, unzip, jdk, pkgconfig, gtk
, libXtst
, libXi
, mesa
}:
stdenv.mkDerivation {
name = "swt-3.6.1";
builder = ./builder.sh;
# 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 {
url = http://eclipse.ialto.com/eclipse/downloads/drops/R-3.6.1-201009090800/swt-3.6.1-gtk-linux-x86.zip;
sha1 = "e629e0b65296b67931f1fce8ab72419818c9747f";
};
buildInputs = [unzip jdk pkgconfig gtk libXtst libXi mesa];
inherit jdk;
}