1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00
nixpkgs/pkgs/development/compilers/jdk/jdk5-ibm-powerpc-linux.nix
Martin Bravenboer 6bae4d7e4e Prelim. support for JDK on PowerPC using IBM's SDK
svn path=/nixpkgs/trunk/; revision=6405
2006-08-31 01:51:41 +00:00

18 lines
484 B
Nix

{ swingSupport ? true
, stdenv, fetchurl, unzip, 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;})