mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
88c9f8b574
This seems to have been confusing people, using both xlibs and xorg, etc. - Avoided renaming local (and different) xlibs binding in gcc*. - Fixed cases where both xorg and xlibs were used. Hopefully everything still works as before.
26 lines
668 B
Nix
26 lines
668 B
Nix
{ stdenv, requireFile, unzip, xorg }:
|
|
|
|
assert stdenv.system == "i686-linux";
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sun-java-wtk-2.5.2_01";
|
|
|
|
src = requireFile {
|
|
url = meta.homepage;
|
|
name = "sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh";
|
|
sha256 = "1cjb9c27847wv0hq3j645ckn4di4vsfvp29fr4zmdqsnvk4ahvj1";
|
|
};
|
|
|
|
builder = ./builder.sh;
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
libraries = [ xorg.libXpm xorg.libXt xorg.libX11 xorg.libICE xorg.libSM stdenv.cc.cc ];
|
|
|
|
meta = {
|
|
homepage = http://java.sun.com/products/sjwtoolkit/download.html;
|
|
description = "Sun Java Wireless Toolkit 2.5.2_01 for CLDC";
|
|
license = stdenv.lib.licenses.unfree;
|
|
};
|
|
}
|