added openjdk for darwin (binaries) for testing

svn path=/nixpkgs/trunk/; revision=17596
This commit is contained in:
Rob Vermaas 2009-10-02 12:12:23 +00:00
parent aa6c9ba04e
commit 82447aa73e
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1";
src = fetchurl {
url = http://hg.bikemonkey.org/archive/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2;
sha256 = "14pbv6jjk95k7hbgiwyvjdjv8pccm7m8a130k0q7mjssf4qmpx1v";
};
installPhase = ''
ensureDir $out
cp -vR * $out/
'';
}

View File

@ -1978,6 +1978,10 @@ let
inherit lib fetchurl stdenv composableDerivation;
};
openjdkDarwin = import ../development/compilers/openjdk-darwin {
inherit fetchurl stdenv;
};
j2sdk14x = (
assert system == "i686-linux";
import ../development/compilers/jdk/default-1.4.nix {