From 13255753b4f85125be3067db9ec2b7c8cdaedc8d Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 29 Jan 2008 13:17:42 +0000 Subject: [PATCH] Added java-front svn path=/nixpkgs/branches/stdenv-updates/; revision=10384 --- pkgs/development/compilers/java-front/builder.sh | 4 ++++ pkgs/development/compilers/java-front/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 7 +++++++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/development/compilers/java-front/builder.sh create mode 100644 pkgs/development/compilers/java-front/default.nix diff --git a/pkgs/development/compilers/java-front/builder.sh b/pkgs/development/compilers/java-front/builder.sh new file mode 100644 index 000000000000..0177abcccea2 --- /dev/null +++ b/pkgs/development/compilers/java-front/builder.sh @@ -0,0 +1,4 @@ +source $stdenv/setup + +configureFlags="--with-aterm=$aterm --with-sdf=$sdf --with-strategoxt=$strategoxt" +genericBuild diff --git a/pkgs/development/compilers/java-front/default.nix b/pkgs/development/compilers/java-front/default.nix new file mode 100644 index 000000000000..fc60e72a5627 --- /dev/null +++ b/pkgs/development/compilers/java-front/default.nix @@ -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]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 348c6cefc0c6..489698ddb566 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {