Added j2sdk-1.5.0-beta

svn path=/nixpkgs/trunk/; revision=1014
This commit is contained in:
Martin Bravenboer 2004-05-12 15:06:23 +00:00
parent ecdac2b804
commit ffade7689e
5 changed files with 43 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
. $stdenv/setup || exit 1
version=j2sdk1.4.2_03
src=$version.bin
src=$filename.bin
cp $pathname $src || exit 1
@ -18,4 +18,4 @@ alias more=cat
yes yes | ./$src || exit 1
mkdir $out || exit 1
mv $version/* $out/ || exit 1
mv $dirname/* $out/ || exit 1

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
if stdenv.system == "i686-linux"
then
(import ./j2sdk1.5-sun-linux.nix) {
stdenv = stdenv;
fetchurl = fetchurl;
}
else
false

View File

@ -14,6 +14,8 @@ assert stdenv.system == "i686-linux";
derivation {
name = "j2sdk-1.4.2";
filename = "j2sdk-1.4.2_03";
dirname = "j2sdk1.4.2_03";
system = stdenv.system;
builder = ./builder.sh;
pathname = "/tmp/j2sdk-1_4_2_03-linux-i586.bin";

View File

@ -0,0 +1,24 @@
/**
* This Nix expression requires the user to download the j2sdk
* distribution to /tmp. Please obtain j2sdk-1_5_0-beta-linux-i586.bin
* from java.sun.com by hand and place it in /tmp. Blame Sun, not me.
*
* Note that this is not necessary if someone has already pushed a
* binary.
*
* @author Martin Bravenboer <martin@cs.uu.nl>
*/
{stdenv, fetchurl}:
assert stdenv.system == "i686-linux";
derivation {
name = "j2sdk-1.5.0-beta";
filename = "j2sdk-1_5_0-beta";
dirname = "j2sdk1.5.0";
system = stdenv.system;
builder = ./builder.sh;
pathname = "/tmp/j2sdk-1_5_0-beta-linux-i586.bin";
md5 = "1e6af0d64563b085ffadec97db365b19";
stdenv = stdenv;
}

View File

@ -224,6 +224,10 @@ rec {
inherit fetchurl stdenv;
};
j2sdk15 = (import ../development/compilers/j2sdk/default-1.5.nix) {
inherit fetchurl stdenv;
};
strategoxt = (import ../development/compilers/strategoxt) {
inherit fetchurl stdenv aterm;
sdf = sdf2;