diff options
author | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-11-19 17:47:17 +0000 |
---|---|---|
committer | Martin Bravenboer <martin.bravenboer@logicblox.com> | 2004-11-19 17:47:17 +0000 |
commit | c35db17230560828c07c58f65e654d41d9541fac (patch) | |
tree | 0b98c5411fb7ea5ff0ccbe8f2f99b70093c6ed6d /pkgs/development/compilers | |
parent | 981cf60a3a83477704f1e34f1d285a10fd55878a (diff) | |
download | nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar.gz nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar.bz2 nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar.lz nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar.xz nixlib-c35db17230560828c07c58f65e654d41d9541fac.tar.zst nixlib-c35db17230560828c07c58f65e654d41d9541fac.zip |
Added gwydion-dylan to nixpkgs
svn path=/nixpkgs/trunk/; revision=1786
Diffstat (limited to 'pkgs/development/compilers')
4 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gwydion-dylan/binary-builder.sh b/pkgs/development/compilers/gwydion-dylan/binary-builder.sh new file mode 100644 index 000000000000..7956a8a72133 --- /dev/null +++ b/pkgs/development/compilers/gwydion-dylan/binary-builder.sh @@ -0,0 +1,9 @@ +. $stdenv/setup + +set -e + +mkdir -p $out +cd $out +tar zxvf $src +mv ./usr/local/* . +rm -rf ./usr diff --git a/pkgs/development/compilers/gwydion-dylan/binary.nix b/pkgs/development/compilers/gwydion-dylan/binary.nix new file mode 100644 index 000000000000..0ac942d14b89 --- /dev/null +++ b/pkgs/development/compilers/gwydion-dylan/binary.nix @@ -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"; + }; +} diff --git a/pkgs/development/compilers/gwydion-dylan/builder.sh b/pkgs/development/compilers/gwydion-dylan/builder.sh new file mode 100644 index 000000000000..23c63da9198e --- /dev/null +++ b/pkgs/development/compilers/gwydion-dylan/builder.sh @@ -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 diff --git a/pkgs/development/compilers/gwydion-dylan/default.nix b/pkgs/development/compilers/gwydion-dylan/default.nix new file mode 100644 index 000000000000..7c00e65d7ccd --- /dev/null +++ b/pkgs/development/compilers/gwydion-dylan/default.nix @@ -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]; +} |