* pkgs/development/tools/parsing/sdf/default.nix: default.nix

now imports Nix expression of specific version.

* pkgs/development/tools/parsing/sdf/sdf2-bundle-2.2.nix: added
previous version of sdf2-bundle.

* pkgs/development/tools/parsing/sdf2: obsolete.

* pkgs/development/compilers/strategoxt/strategoxt-0.12.nix: use
sdf2-bundle instead of attribute set for the individual packages.

* 


svn path=/nixpkgs/trunk/; revision=3081
This commit is contained in:
Martin Bravenboer 2005-05-19 11:23:56 +00:00
parent 2176134a07
commit 1c9690ab2f
10 changed files with 33 additions and 138 deletions

View File

@ -1,4 +0,0 @@
. $stdenv/setup
configureFlags="--with-aterm=$aterm --with-sdf=$sdf"
genericBuild

View File

@ -1,4 +1,4 @@
. $stdenv/setup
configureFlags="--with-aterm=$aterm --with-sglr=$sglr --with-pgen=$pgen --with-pt-support=$ptsupport --with-asf-library=$asflibrary"
configureFlags="--with-aterm=$aterm --with-sdf=$sdf"
genericBuild

View File

@ -1,9 +1,7 @@
{stdenv, fetchurl, aterm, sdf}:
stdenv.mkDerivation {
name = "strategoxt-0.12";
builder = ./builder.sh;
src = fetchurl {
@ -11,8 +9,6 @@ stdenv.mkDerivation {
md5 = "bc2b14d9b53a07fc0047c16f2c6edf0c";
};
inherit aterm;
inherit (sdf) sglr pgen ptsupport asflibrary;
buildInputs = [aterm sdf.pgen];
inherit aterm sdf;
buildInputs = [aterm sdf];
}

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "strategoxt-0.14";
builder = ./builder-0.14.sh;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.14/strategoxt-0.14.tar.gz;

View File

@ -1,14 +1 @@
{stdenv, fetchurl, aterm, getopt}:
stdenv.mkDerivation {
name = "sdf2-bundle-2.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-2.3/sdf2-bundle-2.3.tar.gz;
md5 = "79e305c2bdb2a5627719c890fb050bfa";
};
buildInputs = [aterm];
propagatedBuildInputs = [getopt];
inherit aterm;
}
import sdf2-bundle-2.3.nix

View File

@ -0,0 +1,14 @@
{stdenv, fetchurl, aterm, getopt}:
stdenv.mkDerivation {
name = "sdf2-bundle-2.2";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-2.2.tar.gz;
md5 = "995a1739134615b60b1fe796d6c9d0e6";
};
buildInputs = [aterm];
propagatedBuildInputs = [getopt];
inherit aterm;
}

View File

@ -0,0 +1,14 @@
{stdenv, fetchurl, aterm, getopt}:
stdenv.mkDerivation {
name = "sdf2-bundle-2.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-2.3/sdf2-bundle-2.3.tar.gz;
md5 = "79e305c2bdb2a5627719c890fb050bfa";
};
buildInputs = [aterm];
propagatedBuildInputs = [getopt];
inherit aterm;
}

View File

@ -1,32 +0,0 @@
{stdenv, fetchurl, getopt, aterm}:
rec {
toolbuslib = (import ../toolbuslib/toolbuslib-0.5.1.nix) {
inherit fetchurl stdenv aterm;
};
ptsupport = (import ../pt-support/pt-support-1.0.nix) {
inherit fetchurl stdenv aterm toolbuslib;
};
asfsupport = (import ../asf-support/asf-support-1.2.nix) {
inherit fetchurl stdenv aterm ptsupport;
};
sdfsupport = (import ../sdf-support/sdf-support-2.0.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport;
};
sglr = (import ../sglr/sglr-3.10.2.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport;
};
ascsupport = (import ../asc-support/asc-support-1.8.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport asfsupport;
};
pgen = (import ../pgen/pgen-2.0.nix) {
inherit fetchurl stdenv getopt aterm toolbuslib ptsupport sdfsupport asfsupport ascsupport sglr;
};
}

View File

@ -1,40 +0,0 @@
{stdenv, fetchurl, getopt, aterm}:
rec {
errorsupport = (import ../error-support/error-support-0.1.nix) {
inherit fetchurl stdenv aterm toolbuslib;
};
toolbuslib = (import ../toolbuslib/toolbuslib-0.6.nix) {
inherit fetchurl stdenv aterm;
};
ptsupport = (import ../pt-support/pt-support-1.1.nix) {
inherit fetchurl stdenv aterm toolbuslib errorsupport;
};
asfsupport = (import ../asf-support/asf-support-1.3.nix) {
inherit fetchurl stdenv aterm ptsupport errorsupport;
};
sdfsupport = (import ../sdf-support/sdf-support-2.1.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport errorsupport;
};
sglr = (import ../sglr/sglr-3.11.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport errorsupport;
};
ascsupport = (import ../asc-support/asc-support-1.9.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport asfsupport errorsupport sglr;
};
pgen = (import ../pgen/pgen-2.1.nix) {
inherit fetchurl stdenv getopt aterm toolbuslib ptsupport sdfsupport asfsupport ascsupport errorsupport sglr;
};
asflibrary = (import ../asf-library/asf-library-1.0.nix) {
inherit fetchurl stdenv;
};
}

View File

@ -1,40 +0,0 @@
{stdenv, fetchurl, getopt, aterm}:
rec {
errorsupport = (import ../error-support/error-support-0.1.1.nix) {
inherit fetchurl stdenv aterm toolbuslib;
};
toolbuslib = (import ../toolbuslib/toolbuslib-0.6.nix) {
inherit fetchurl stdenv aterm;
};
ptsupport = (import ../pt-support/pt-support-1.2.nix) {
inherit fetchurl stdenv aterm toolbuslib errorsupport;
};
asfsupport = (import ../asf-support/asf-support-1.4.nix) {
inherit fetchurl stdenv aterm ptsupport errorsupport;
};
sdfsupport = (import ../sdf-support/sdf-support-2.1.1.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport errorsupport;
};
sglr = (import ../sglr/sglr-3.12.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport errorsupport;
};
ascsupport = (import ../asc-support/asc-support-2.0.nix) {
inherit fetchurl stdenv aterm toolbuslib ptsupport asfsupport errorsupport sglr;
};
pgen = (import ../pgen/pgen-2.2.nix) {
inherit fetchurl stdenv getopt aterm toolbuslib ptsupport sdfsupport asfsupport ascsupport errorsupport sglr;
};
asflibrary = (import ../asf-library/asf-library-1.1.nix) {
inherit fetchurl stdenv;
};
}