From 6ade14473afb6c5cc133e55c63b813d3f8bba754 Mon Sep 17 00:00:00 2001 From: Martin Bravenboer Date: Mon, 21 Jun 2004 13:17:20 +0000 Subject: [PATCH] Latest daily distribution of StrategoXT in Nix svn path=/nixpkgs/trunk/; revision=1066 --- pkgs/development/compilers/strategoxt/dailydist.nix | 13 +++++++++++++ .../development/compilers/strategoxt/new-builder.sh | 4 ++++ pkgs/system/all-packages-generic.nix | 5 +++++ 3 files changed, 22 insertions(+) create mode 100644 pkgs/development/compilers/strategoxt/dailydist.nix create mode 100644 pkgs/development/compilers/strategoxt/new-builder.sh diff --git a/pkgs/development/compilers/strategoxt/dailydist.nix b/pkgs/development/compilers/strategoxt/dailydist.nix new file mode 100644 index 000000000000..ba6f682684d9 --- /dev/null +++ b/pkgs/development/compilers/strategoxt/dailydist.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, aterm, sdf}: + +stdenv.mkDerivation { + name = "strategoxt-0.11pre-6529"; + builder = ./new-builder.sh; + src = fetchurl { + url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/strategoxt/src/strategoxt-0.11pre-6529.tar.gz; + md5 = "e14a548c5b871d1d99e2fcf7dc1c7754"; + }; + inherit aterm; + inherit (sdf) ptsupport asflibrary pgen sglr; + buildInputs = [aterm sdf.ptsupport sdf.sdfsupport sdf.pgen sdf.sglr]; +} diff --git a/pkgs/development/compilers/strategoxt/new-builder.sh b/pkgs/development/compilers/strategoxt/new-builder.sh new file mode 100644 index 000000000000..1b3647a0f1d6 --- /dev/null +++ b/pkgs/development/compilers/strategoxt/new-builder.sh @@ -0,0 +1,4 @@ +. $stdenv/setup + +configureFlags="--with-aterm=$aterm --with-asf-library=$asflibrary --with-pt-support=$ptsupport --with-pgen=$pgen --with-sglr=$sglr" +genericBuild diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 487bb94c34f2..62d7256b02fd 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -242,6 +242,11 @@ rec { sdf = sdf2_bundle; }; + strategoxtdailydist = (import ../development/compilers/strategoxt/dailydist.nix) { + inherit fetchurl stdenv aterm; + sdf = sdf_21; + }; + tiger = (import ../development/compilers/tiger) { inherit fetchurl stdenv aterm strategoxt; sdf = sdf2_bundle;