From e0b48bbdec98d1ad662ebff0b111ec0fe7e163ec Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 19 Mar 2009 14:46:38 +0000 Subject: [PATCH] * Added javafront & dryad. svn path=/nixpkgs/trunk/; revision=14611 --- .../development/compilers/strategoxt/0.17.nix | 40 ++++++++++++++++++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/strategoxt/0.17.nix b/pkgs/development/compilers/strategoxt/0.17.nix index 0d9e64e267a..fe8459150d7 100644 --- a/pkgs/development/compilers/strategoxt/0.17.nix +++ b/pkgs/development/compilers/strategoxt/0.17.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, aterm, pkgconfig, getopt}: +{stdenv, fetchurl, aterm, pkgconfig, getopt, jdk}: rec { @@ -48,6 +48,44 @@ rec { }; + javafront = stdenv.mkDerivation rec { + name = "java-front-0.9pre1823618236"; + + src = fetchurl { + url = "http://releases.strategoxt.org/java-front/${name}-frb8zh7m/java-front-0.9pre18236.tar.gz"; + sha256 = "93d2919cfbda41a96a944f71ae57704ad1f0efcc0c1084b501a4536f82e25387"; + }; + + buildInputs = [pkgconfig aterm strategoxt]; + + configureFlags = "--disable-static"; + + meta = { + homepage = http://strategoxt.org/Stratego/JavaFront; + meta = "Tools for generating or transforming Java code"; + }; + }; + + + dryad = stdenv.mkDerivation rec { + name = "dryad-0.2pre1835518355"; + + src = fetchurl { + url = "http://releases.strategoxt.org/dryad/${name}-zbqfh1rm/dryad-0.2pre18355.tar.gz"; + sha256 = "2c27b7f82f87ffc27b75969acc365560651275d348b3b5cbb530276d20ae83ab"; + }; + + buildInputs = [jdk pkgconfig aterm sdf strategoxt javafront]; + + configureFlags = "--disable-static"; + + meta = { + homepage = http://strategoxt.org/Stratego/TheDryad; + meta = "A collection of tools for developing transformation systems for Java source and bytecode"; + }; + }; + + /* libraries = ... { configureFlags = diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c1ece39be2c..32e10969832 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1967,7 +1967,7 @@ let }; strategoPackages017 = import ../development/compilers/strategoxt/0.17.nix { - inherit fetchurl stdenv pkgconfig aterm getopt; + inherit fetchurl stdenv pkgconfig aterm getopt jdk; }; swiProlog = composedArgsAndFun (selectVersion ../development/compilers/swi-prolog "5.6.51") {