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,11 @@
#! /bin/sh
buildinputs="$aterm $getopt"
. $stdenv/setup || exit 1
tar zxf $src || exit 1
cd sdf2-bundle-* || exit 1
./configure --prefix=$out --with-aterm=$aterm || exit 1
make install || exit 1
echo "$getopt" > $out/propagated-build-inputs || exit 1

View File

@@ -0,0 +1,13 @@
{stdenv, fetchurl, aterm, getopt}:
derivation {
name = "sdf2-1.6";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-1.6.tar.gz;
md5 = "283be0b4c7c9575c1b5cc735316e6192";
};
stdenv = stdenv;
aterm = aterm;
getopt = getopt;
}