summary refs log tree commit diff
path: root/pkgs/development/compilers/jdk/jdk5-ibm-powerpc-linux.nix
blob: a4c2bd589afe469e6e656b196e22c2250d8f29b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ swingSupport ? true
, stdenv, fetchurl, unzip, makeWrapper, libX11 ? null, libXext ? null
}:

assert stdenv.system == "powerpc-linux";

assert swingSupport -> libX11 != null && libXext != null;

(stdenv.mkDerivation {
  name = "jdk-1.5.0";
  builder = ./ibm-builder.sh;
  dirname = "ibm-java2-ppc-50";
  pathname = "/tmp/ibm-java2-sdk-50-linux-ppc.tgz";
  md5 = "6bed4ae0b24d3eea2914f2f6dcc0ceb4";
  libraries =
    (if swingSupport then [libX11 libXext] else []);
} // {inherit swingSupport;})