nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 848 B view raw
1{ 2 lib, 3 stdenv, 4 requireFile, 5 unzip, 6 libxt, 7 libxpm, 8 libx11, 9 libsm, 10 libice, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "sun-java-wtk"; 15 version = "2.5.2_01"; 16 17 src = requireFile { 18 url = "http://java.sun.com/products/sjwtoolkit/download.html"; 19 name = "sun_java_wireless_toolkit-${version}-linuxi486.bin.sh"; 20 sha256 = "1cjb9c27847wv0hq3j645ckn4di4vsfvp29fr4zmdqsnvk4ahvj1"; 21 }; 22 23 builder = ./builder.sh; 24 25 nativeBuildInputs = [ unzip ]; 26 27 libraries = [ 28 libxpm 29 libxt 30 libx11 31 libice 32 libsm 33 stdenv.cc.cc 34 ]; 35 36 meta = { 37 homepage = "http://java.sun.com/products/sjwtoolkit/download.html"; 38 description = "Sun Java Wireless Toolkit 2.5.2_01 for CLDC"; 39 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 40 license = lib.licenses.unfree; 41 platforms = [ "i686-linux" ]; 42 }; 43}