mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
4f50c9147f
svn path=/nixpkgs/trunk/; revision=25682
22 lines
576 B
Nix
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;
|
|
}
|