From 506c2f37c03b62532382bb00376ff0a20f91b2e9 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 7 Dec 2009 14:19:23 +0000 Subject: [PATCH] strategoshell based on strategoxt 0.18 svn path=/nixpkgs/trunk/; revision=18828 --- pkgs/development/compilers/strategoxt/0.18.nix | 17 ++++++++++++++++- pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/strategoxt/0.18.nix b/pkgs/development/compilers/strategoxt/0.18.nix index 44fff034ba34..96cf47718ea3 100644 --- a/pkgs/development/compilers/strategoxt/0.18.nix +++ b/pkgs/development/compilers/strategoxt/0.18.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, aterm, pkgconfig, getopt, jdk, makeStaticBinaries}: +{stdenv, fetchurl, aterm, pkgconfig, getopt, jdk, makeStaticBinaries, readline, ncurses}: rec { @@ -56,6 +56,21 @@ rec { }; }; + strategoShell = stdenv.mkDerivation rec { + name = "stratego-shell-0.7"; + + src = fetchurl { + url = "ftp://ftp.strategoxt.org/pub/stratego/StrategoXT/strategoxt-0.17/stratego-shell-0.7.tar.gz"; + sha256 = "0q21vks9gaw9v4rxz90wb0pxzb19l7gwi4nbjvk4zb1imdk7znck"; + }; + + buildInputs = [pkgconfig aterm sdf strategoxt getopt readline ncurses]; + + meta = { + homepage = http://strategoxt.org/; + meta = "A language and toolset for program transformation"; + }; + }; javafront = stdenv.mkDerivation (rec { name = "java-front-0.9"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1541842e6ff4..0b94be6df332 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2172,7 +2172,8 @@ let }; strategoPackages018 = import ../development/compilers/strategoxt/0.18.nix { - inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries; + inherit fetchurl stdenv pkgconfig aterm getopt jdk makeStaticBinaries ncurses; + readline = readline5; }; metaBuildEnv = import ../development/compilers/meta-environment/meta-build-env {