mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
28b6fb61e6
This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
26 lines
675 B
Nix
26 lines
675 B
Nix
{ stdenv, requireFile, unzip, xlibs }:
|
|
|
|
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 = [ xlibs.libXpm xlibs.libXt xlibs.libX11 xlibs.libICE xlibs.libSM stdenv.cc.gcc ];
|
|
|
|
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;
|
|
};
|
|
}
|