2008-04-02 22:54:42 +02:00
|
|
|
{ fetchurl, stdenv }:
|
2008-02-08 02:35:01 +01:00
|
|
|
|
2008-04-02 22:54:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-01-11 23:49:44 +01:00
|
|
|
name = "bigloo3.2a";
|
2008-02-08 02:35:01 +01:00
|
|
|
|
2008-04-02 22:54:42 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${name}.tar.gz";
|
2009-01-11 23:49:44 +01:00
|
|
|
sha256 = "131jnn17rcccbijpji7v5xlx4z2jldhbn46gkysf6axdcwxwqgg4";
|
2008-04-02 22:54:42 +02:00
|
|
|
};
|
2008-03-11 11:08:19 +01:00
|
|
|
|
2008-04-02 22:54:42 +02:00
|
|
|
patchPhase = ''
|
|
|
|
# Fix absolute paths.
|
|
|
|
sed -e 's=/bin/mv=mv=g' -e 's=/bin/rm=rm=g' \
|
|
|
|
-e 's=/tmp=$TMPDIR=g' -i configure autoconf/* \
|
|
|
|
[Mm]akefile* */[Mm]akefile* */*/[Mm]akefile* \
|
|
|
|
*/*/*/[Mm]akefile* */*/*/*/[Mm]akefile* \
|
2008-09-16 23:18:33 +02:00
|
|
|
comptime/Cc/cc.scm gc/install-gc-*
|
2008-04-02 22:54:42 +02:00
|
|
|
|
|
|
|
# Make sure we don't change string lengths in the generated
|
|
|
|
# C files.
|
|
|
|
sed -e 's=/bin/rm= rm=g' -e 's=/bin/mv= mv=g' \
|
|
|
|
-i comptime/Cc/cc.c
|
|
|
|
'';
|
|
|
|
|
2008-05-29 14:10:10 +02:00
|
|
|
checkTarget = "test";
|
|
|
|
|
2008-04-02 22:54:42 +02:00
|
|
|
meta = {
|
|
|
|
description = "Bigloo, an efficient Scheme compiler";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Bigloo is a Scheme implementation devoted to one goal: enabling
|
|
|
|
Scheme based programming style where C(++) is usually
|
|
|
|
required. Bigloo attempts to make Scheme practical by offering
|
|
|
|
features usually presented by traditional programming languages
|
|
|
|
but not offered by Scheme and functional programming. Bigloo
|
|
|
|
compiles Scheme modules. It delivers small and fast stand alone
|
|
|
|
binary executables. Bigloo enables full connections between
|
|
|
|
Scheme and C programs, between Scheme and Java programs, and
|
|
|
|
between Scheme and C# programs.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www-sop.inria.fr/mimosa/fp/Bigloo/;
|
|
|
|
license = "GPLv2+";
|
2010-03-01 18:08:16 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
2008-02-08 02:35:01 +01:00
|
|
|
};
|
2008-04-02 22:54:42 +02:00
|
|
|
}
|