mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 20:13:21 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
27 lines
796 B
Nix
27 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" ];
|
|
};
|
|
}
|