mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
openjdk-darwin: Update to 7u60b30
This commit is contained in:
parent
828e386e68
commit
caa74a146d
@ -1,16 +1,18 @@
|
||||
{ stdenv, fetchurl, setJavaClassPath }:
|
||||
{ stdenv, fetchurl, unzip, setJavaClassPath }:
|
||||
let
|
||||
jdk = stdenv.mkDerivation {
|
||||
name = "openjdk6-b16-24_apr_2009-r1";
|
||||
name = "openjdk-7u60b30";
|
||||
|
||||
# From https://github.com/alexkasko/openjdk-unofficial-builds
|
||||
src = fetchurl {
|
||||
url = http://landonf.bikemonkey.org/static/soylatte/bsd-dist/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2;
|
||||
sha256 = "14pbv6jjk95k7hbgiwyvjdjv8pccm7m8a130k0q7mjssf4qmpx1v";
|
||||
url = https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u60-unofficial-macosx-x86_64-bundle.zip;
|
||||
sha256 = "af510a4d566712d82c17054bb39f91d98c69a85586e244c6123669a0bd4b7401";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -vR * $out/
|
||||
mv */Contents/Home $out
|
||||
|
||||
# jni.h expects jni_md.h to be in the header search path.
|
||||
ln -s $out/include/darwin/*_md.h $out/include/
|
||||
|
Loading…
Reference in New Issue
Block a user