{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/
  '';

}

Copy openjdk-darwin as a starting point for openjdk7
Copy openjdk-darwin as a starting point for openjdk7

svn path=/nixpkgs/trunk/; revision=27992
