1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/openjdk-darwin/default.nix

20 lines
407 B
Nix
Raw Normal View History

2012-10-05 00:53:10 +01:00
{stdenv, fetchurl, ...}:
let
jdk = 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 = ''
mkdir -p $out
cp -vR * $out/
'';
passthru.jre = jdk;
};
in jdk