about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMartin Bravenboer <martin.bravenboer@logicblox.com>2004-11-19 17:47:17 +0000
committerMartin Bravenboer <martin.bravenboer@logicblox.com>2004-11-19 17:47:17 +0000
commitc35db17230560828c07c58f65e654d41d9541fac (patch)
tree0b98c5411fb7ea5ff0ccbe8f2f99b70093c6ed6d /pkgs/development/compilers
parent981cf60a3a83477704f1e34f1d285a10fd55878a (diff)
downloadnixlib-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')
-rw-r--r--pkgs/development/compilers/gwydion-dylan/binary-builder.sh9
-rw-r--r--pkgs/development/compilers/gwydion-dylan/binary.nix10
-rw-r--r--pkgs/development/compilers/gwydion-dylan/builder.sh8
-rw-r--r--pkgs/development/compilers/gwydion-dylan/default.nix13
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];
+}