Compare commits

...

2 Commits

Author SHA1 Message Date
Martin Bravenboer
5f1c91cf16 Added aterm 2.1
svn path=/nixpkgs/branches/martin2/; revision=1008
2004-05-12 13:38:23 +00:00
Martin Bravenboer
ad12abfb3d Added j2sdk 1.5.0 beta. You need to download the file by hand to /tmp
svn path=/nixpkgs/branches/martin2/; revision=831
2004-03-11 20:17:51 +00:00
6 changed files with 56 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
#!/bin/sh
. $stdenv/setup || exit 1
version=j2sdk1.4.2_03
src=$version.bin
src=$filename.bin
cp $pathname $src || exit 1
@@ -19,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

@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "aterm-2.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.1.tar.gz;
md5 = "b9d541da35b6d287af1cd8460963a7a8";
};
stdenv = stdenv;
}

View File

@@ -196,6 +196,10 @@
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;
@@ -262,6 +266,10 @@
inherit fetchurl stdenv;
};
aterm_2_1 = (import ../development/libraries/aterm/aterm-2.1.nix) {
inherit fetchurl stdenv;
};
sdf2 = (import ../development/tools/parsing/sdf2) {
inherit fetchurl stdenv aterm getopt;
};