nixpkgs-suyu/pkgs/development/libraries/java/swt/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

16 lines
543 B
Nix

{stdenv, fetchurl, unzip, jdk, pkgconfig, gtk, libXtst}:
stdenv.mkDerivation {
name = "swt-3.1.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://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.1-200509290840/swt-3.1.1-gtk-linux-x86.zip;
md5 = "23dfe5a4a566439c5f526d9ea3b3db1c";
};
buildInputs = [unzip jdk pkgconfig gtk libXtst];
}