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,10 @@
#! /bin/sh
buildinputs="$aterm $sdf"
. $stdenv/setup || exit 1
tar zxf $src || exit 1
cd strategoxt-* || exit 1
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf || exit 1
make || exit 1
make install || exit 1

View File

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

View File

@@ -0,0 +1,12 @@
{stdenv, fetchurl, aterm, sdf}: derivation {
name = "strategoxt-0.9.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.3.tar.gz;
md5 = "3425e7ae896426481bd258817737e3d6"
};
stdenv = stdenv;
aterm = aterm;
sdf = sdf;
}