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