*openjdk: Get source to unpack

svn path=/nixpkgs/trunk/; revision=28028
This commit is contained in:
Shea Levy 2011-08-01 01:07:58 +00:00
parent 7a3e4c40ec
commit 23e378a3c4

View file

@ -1,16 +1,12 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1";
name = "openjdk-7b127";
src = fetchurl {
url = http://hg.bikemonkey.org/archive/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2;
sha256 = "14pbv6jjk95k7hbgiwyvjdjv8pccm7m8a130k0q7mjssf4qmpx1v";
url = http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip;
sha256 = "1qhwlz9y5qmwmja4qnxg6sn3pgsg1i11fb9j41w8l26acyhk34rs";
};
installPhase = ''
ensureDir $out
cp -vR * $out/
'';
buildInputs = [ unzip ];
}