Added Transformers 0.4
svn path=/nixpkgs/trunk/; revision=4405
This commit is contained in:
parent
c564d6dbb2
commit
83afd0c173
4
pkgs/development/compilers/transformers/builder.sh
Normal file
4
pkgs/development/compilers/transformers/builder.sh
Normal file
@ -0,0 +1,4 @@
|
||||
. $stdenv/setup
|
||||
|
||||
configureFlags="--with-stlport=$stlport/include"
|
||||
genericBuild
|
2
pkgs/development/compilers/transformers/default.nix
Normal file
2
pkgs/development/compilers/transformers/default.nix
Normal file
@ -0,0 +1,2 @@
|
||||
import ./transformers-0.4.nix
|
||||
|
14
pkgs/development/compilers/transformers/transformers-0.4.nix
Normal file
14
pkgs/development/compilers/transformers/transformers-0.4.nix
Normal 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];
|
||||
}
|
8
pkgs/development/libraries/stlport/builder.sh
Normal file
8
pkgs/development/libraries/stlport/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
. $stdenv/setup
|
||||
|
||||
tar jxvf $src
|
||||
mkdir $out
|
||||
mkdir $out/include
|
||||
|
||||
cd STLport
|
||||
cp -prv stlport $out/include
|
13
pkgs/development/libraries/stlport/default.nix
Normal file
13
pkgs/development/libraries/stlport/default.nix
Normal 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;
|
||||
}
|
@ -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;
|
||||
|
@ -50,6 +50,7 @@ let {
|
||||
sdf
|
||||
strategoxt
|
||||
strategoxtUtils
|
||||
transformers
|
||||
|
||||
ghc
|
||||
# helium
|
||||
|
Loading…
Reference in New Issue
Block a user