nixpkgs/pkgs/development/compilers/j2sdk/j2sdk-sun-linux.nix
Martin Bravenboer ffade7689e Added j2sdk-1.5.0-beta
svn path=/nixpkgs/trunk/; revision=1014
2004-05-12 15:06:23 +00:00

25 lines
667 B
Nix

/**
* This Nix expression requires the user to download the j2sdk
* distribution to /tmp. Please obtain j2sdk-1_4_2_03-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.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";
md5 = "859aa6750161477acec83b7bb5d9998d";
stdenv = stdenv;
}