diff --git a/pkgs/development/interpreters/kaffe/builder.sh b/pkgs/development/interpreters/kaffe/builder.sh new file mode 100755 index 000000000000..1a5e5fa31c1a --- /dev/null +++ b/pkgs/development/interpreters/kaffe/builder.sh @@ -0,0 +1,5 @@ +. $stdenv/setup || exit 1 + +configureFlags="--with-jikes=$jikes/bin/jikes --enable-pure-java-math" +genericBuild + diff --git a/pkgs/development/interpreters/kaffe/default.nix b/pkgs/development/interpreters/kaffe/default.nix new file mode 100644 index 000000000000..6f7ba6c18e9d --- /dev/null +++ b/pkgs/development/interpreters/kaffe/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, alsaLib, xlibs, jikes}: + +stdenv.mkDerivation { + name = "kaffe-1.1.4"; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/kaffe-1.1.4.tar.gz; + md5 = "94d6e7035ba68c2221dce68bb5b3f6e9"; + }; + inherit jikes alsaLib; + inherit (xlibs) libXaw libX11; + + buildInputs = [jikes alsaLib xlibs.libXaw xlibs.libX11]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 69e2a848debf..f9d865e55af3 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -389,6 +389,10 @@ rec { inherit fetchurl stdenv; }; + kaffe = (import ../development/interpreters/kaffe) { + inherit fetchurl stdenv jikes alsaLib xlibs; + }; + apacheant14 = (import ../development/tools/build-managers/apache-ant) { inherit fetchurl stdenv j2sdk; };