Added gwydion-dylan to nixpkgs

svn path=/nixpkgs/trunk/; revision=1786
This commit is contained in:
Martin Bravenboer 2004-11-19 17:47:17 +00:00
parent 981cf60a3a
commit c35db17230
5 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,9 @@
. $stdenv/setup
set -e
mkdir -p $out
cd $out
tar zxvf $src
mv ./usr/local/* .
rm -rf ./usr

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "binary-gwydion-dylan-2.4.0";
builder = ./binary-builder.sh;
src = fetchurl {
url = http://www.gwydiondylan.org/downloads/binaries/linux/x86/tar/gwydion-dylan-2.4.0-x86-linux.tar.gz;
md5 = "52643ad51a455d21fd4d5bf82d98914c";
};
}

View File

@ -0,0 +1,8 @@
. $stdenv/setup
export DYLANDIR=$dylan
export DYLANPATH=$dylan/lib/dylan/2.4.0/x86-linux-gcc
configureFlags="--with-existing-runtime=$dylan/lib/dylan/2.4.0/x86-linux-gcc"
export LD_LIBRARY_PATH="$dylan/lib/dylan/2.4.0/x86-linux-gcc:$LD_LIBRARY_PATH:$boehmgc/lib"
genericBuild

View File

@ -0,0 +1,13 @@
{stdenv, fetchurl, dylan, boehmgc, perl, flex, yacc, readline}:
stdenv.mkDerivation {
name = "gwydion-dylan-2.4.0";
builder = ./builder.sh;
src = fetchurl {
url = http://www.gwydiondylan.org/downloads/src/tar/gwydion-dylan-2.4.0.tar.gz;
md5 = "7ed180bf4ef11e8e8da3bd78b45477a8";
};
inherit boehmgc dylan perl;
buildInputs = [boehmgc dylan perl flex yacc readline];
}

View File

@ -444,6 +444,14 @@ rec {
inherit fetchurl stdenv zlib;
};
dylan = (import ../development/compilers/gwydion-dylan) {
inherit fetchurl stdenv perl boehmgc yacc flex readline;
dylan =
(import ../development/compilers/gwydion-dylan/binary.nix) {
inherit fetchurl stdenv;
};
};
clisp = (import ../development/interpreters/clisp) {
inherit fetchurl stdenv libsigsegv gettext;
};
@ -679,6 +687,9 @@ rec {
inherit fetchurl stdenv x11;
};
boehmgc = (import ../development/libraries/boehm-gc) {
inherit fetchurl stdenv;
};
### SERVERS