mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Added gwydion-dylan to nixpkgs
svn path=/nixpkgs/trunk/; revision=1786
This commit is contained in:
parent
981cf60a3a
commit
c35db17230
|
@ -0,0 +1,9 @@
|
|||
. $stdenv/setup
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
tar zxvf $src
|
||||
mv ./usr/local/* .
|
||||
rm -rf ./usr
|
10
pkgs/development/compilers/gwydion-dylan/binary.nix
Normal file
10
pkgs/development/compilers/gwydion-dylan/binary.nix
Normal 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";
|
||||
};
|
||||
}
|
8
pkgs/development/compilers/gwydion-dylan/builder.sh
Normal file
8
pkgs/development/compilers/gwydion-dylan/builder.sh
Normal 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
|
13
pkgs/development/compilers/gwydion-dylan/default.nix
Normal file
13
pkgs/development/compilers/gwydion-dylan/default.nix
Normal 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];
|
||||
}
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue