2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, requireFile, unzip, xorg }:
|
2009-03-23 13:36:48 -07:00
|
|
|
|
2018-08-20 12:11:29 -07:00
|
|
|
assert stdenv.hostPlatform.system == "i686-linux";
|
2009-03-23 13:36:48 -07:00
|
|
|
|
2010-05-01 00:07:25 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2009-03-23 13:36:48 -07:00
|
|
|
name = "sun-java-wtk-2.5.2_01";
|
|
|
|
|
2010-05-03 02:13:17 -07:00
|
|
|
src = requireFile {
|
2010-05-01 00:07:25 -07:00
|
|
|
url = meta.homepage;
|
|
|
|
name = "sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh";
|
2010-05-03 02:13:17 -07:00
|
|
|
sha256 = "1cjb9c27847wv0hq3j645ckn4di4vsfvp29fr4zmdqsnvk4ahvj1";
|
2010-05-01 00:07:25 -07:00
|
|
|
};
|
2009-03-23 13:36:48 -07:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2021-02-20 13:01:53 -08:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2009-03-23 13:36:48 -07:00
|
|
|
|
2015-09-15 02:26:18 -07:00
|
|
|
libraries = [ xorg.libXpm xorg.libXt xorg.libX11 xorg.libICE xorg.libSM stdenv.cc.cc ];
|
2009-03-23 13:36:48 -07:00
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://java.sun.com/products/sjwtoolkit/download.html";
|
2009-03-23 13:36:48 -07:00
|
|
|
description = "Sun Java Wireless Toolkit 2.5.2_01 for CLDC";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = lib.licenses.unfree;
|
2009-03-23 13:36:48 -07:00
|
|
|
};
|
|
|
|
}
|