forked from mirrors/nixpkgs
Added java-front
svn path=/nixpkgs/branches/stdenv-updates/; revision=10384
This commit is contained in:
parent
8b871ad339
commit
13255753b4
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];
|
||||
}
|
|
@ -1151,6 +1151,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