3
0
Fork 0
forked from mirrors/nixpkgs

Added Transformers 0.4

svn path=/nixpkgs/trunk/; revision=4405
This commit is contained in:
Martin Bravenboer 2005-12-22 07:39:06 +00:00
parent c564d6dbb2
commit 83afd0c173
7 changed files with 61 additions and 1 deletions

View file

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

View file

@ -0,0 +1,2 @@
import ./transformers-0.4.nix

View file

@ -0,0 +1,14 @@
{stdenv, fetchurl, aterm, sdf, strategoxt, stlport, pkgconfig}:
stdenv.mkDerivation {
builder = ./builder.sh;
name = "transformers-0.4";
src = fetchurl {
url = http://www.lrde.epita.fr/dload/transformers/transformers-0.4.tar.bz2;
md5 = "19f5b752aec5f4d09cf45cc199fd5bfb";
};
inherit stlport;
buildInputs = [pkgconfig aterm sdf strategoxt stlport];
}

View file

@ -0,0 +1,8 @@
. $stdenv/setup
tar jxvf $src
mkdir $out
mkdir $out/include
cd STLport
cp -prv stlport $out/include

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, patches ? []}:
stdenv.mkDerivation {
name = "STLport-5.0.0";
builder = ./builder.sh;
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/stlport/STLport-5.0.0.tar.bz2;
md5 = "5aefcbb0c30a91d50bb2d6c7b30e8393";
};
inherit patches;
}

View file

@ -589,7 +589,7 @@ rec {
};
strategoxt = (import ../development/compilers/strategoxt) {
inherit fetchurl pkgconfig stdenv sdf aterm;
inherit fetchurl stdenv pkgconfig sdf aterm;
};
strategoxtUtils = (import ../development/compilers/strategoxt/utils) {
@ -600,6 +600,24 @@ rec {
inherit fetchurl stdenv aterm tetex hevea sdf strategoxt;
};
transformers = (import ../development/compilers/transformers) {
inherit fetchurl stdenv pkgconfig sdf;
aterm = aterm23x;
strategoxt = (import ../development/compilers/strategoxt/strategoxt-0.14.nix) {
inherit fetchurl pkgconfig stdenv sdf;
aterm = aterm23x;
};
stlport = (import ../development/libraries/stlport) {
inherit fetchurl stdenv;
};
};
aterm23x = (import ../development/libraries/aterm/aterm-2.3.1.nix) {
inherit fetchurl stdenv;
};
ghcboot = (import ../development/compilers/ghc/boot.nix) {
inherit fetchurl stdenv perl ncurses;
readline = readline4;

View file

@ -50,6 +50,7 @@ let {
sdf
strategoxt
strategoxtUtils
transformers
ghc
# helium