Added java-front
svn path=/nixpkgs/trunk/; revision=10373
This commit is contained in:
parent
1afbc67f9a
commit
293fdf9c5d
3 changed files with 25 additions and 0 deletions
4
pkgs/development/compilers/java-front/builder.sh
Normal file
4
pkgs/development/compilers/java-front/builder.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
source $stdenv/setup
|
||||
|
||||
configureFlags="--with-aterm=$aterm --with-sdf=$sdf --with-strategoxt=$strategoxt"
|
||||
genericBuild
|
14
pkgs/development/compilers/java-front/default.nix
Normal file
14
pkgs/development/compilers/java-front/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{stdenv, fetchurl, aterm, sdf, strategoxt, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "java-front-0.9";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://buildfarm.st.ewi.tudelft.nl/releases/strategoxt/java-front-0.9pre17376-qi43zwhy/java-front-0.9pre17376.tar.gz;
|
||||
md5 = "fec70158b110c77a2e5db29676438029";
|
||||
};
|
||||
|
||||
inherit aterm sdf strategoxt;
|
||||
buildInputs = [pkgconfig aterm sdf strategoxt];
|
||||
}
|
|
@ -1143,6 +1143,13 @@ rec {
|
|||
ghc = ghc661;
|
||||
};
|
||||
|
||||
javafront = import ../development/compilers/java-front {
|
||||
inherit stdenv fetchurl pkgconfig;
|
||||
sdf = sdf24;
|
||||
aterm = aterm25;
|
||||
strategoxt = strategoxt017;
|
||||
};
|
||||
|
||||
#TODO add packages http://cvs.haskell.org/Hugs/downloads/2006-09/packages/ and test
|
||||
# commented out because it's using the new configuration style proposal which is unstable
|
||||
#hugs = import ../development/compilers/hugs {
|
||||
|
|
Loading…
Reference in a new issue