Nix expressions for sdf, strategoxt, and tiger.

svn path=/nixpkgs/trunk/; revision=581
This commit is contained in:
Eelco Visser
2003-12-12 14:46:30 +00:00
parent 716904fe0c
commit e995558293
8 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#! /bin/sh
buildinputs="$aterm $sdf $strategoxt"
. $stdenv/setup || exit 1
tar zxf $src || exit 1
cd tiger-* || exit 1
./configure --prefix=$out \
--with-aterm=$aterm \
--with-sdf=$sdf \
--with-stratego-xt=$strategoxt \
--enable-tiger \
--enable-ir \
--enable-asm \
|| exit 1
make || exit 1
make install || exit 1

View File

@@ -0,0 +1,13 @@
{stdenv, fetchurl, aterm, sdf, strategoxt}: derivation {
name = "tiger-1.3-4631";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/tiger/src/tiger-1.3-4631.tar.gz;
md5 = "1ea6070d84134eb6cff7fb32a75ef90a"
};
stdenv = stdenv;
aterm = aterm;
sdf = sdf;
strategoxt = strategoxt;
}