25 lines
675 B
Nix
25 lines
675 B
Nix
|
/**
|
||
|
* 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;
|
||
|
}
|