depot/third_party/nixpkgs/pkgs/development/libraries/wtk/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
796 B
Nix

{ lib, stdenv, requireFile, unzip, xorg }:
stdenv.mkDerivation rec {
pname = "sun-java-wtk";
version = "2.5.2_01";
src = requireFile {
url = "http://java.sun.com/products/sjwtoolkit/download.html";
name = "sun_java_wireless_toolkit-${version}-linuxi486.bin.sh";
sha256 = "1cjb9c27847wv0hq3j645ckn4di4vsfvp29fr4zmdqsnvk4ahvj1";
};
builder = ./builder.sh;
nativeBuildInputs = [ 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";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
platforms = [ "i686-linux" ];
};
}