Bigloo 3.7a.

svn path=/nixpkgs/trunk/; revision=29679
This commit is contained in:
Ludovic Courtès 2011-10-05 21:51:07 +00:00
parent 9bd06b389a
commit dce7ac1f10
1 changed files with 11 additions and 6 deletions

View File

@ -1,20 +1,25 @@
{ fetchurl, stdenv }: { fetchurl, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bigloo3.2a"; name = "bigloo3.7a";
src = fetchurl { src = fetchurl {
url = "ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${name}.tar.gz"; url = "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${name}.tar.gz";
sha256 = "131jnn17rcccbijpji7v5xlx4z2jldhbn46gkysf6axdcwxwqgg4"; sha256 = "0y8i87c2bpqzap8rhzgpyfgdzq21py5xq6mgp0w6xv4rjcj9d0v1";
}; };
preConfigure =
# Help libgc's configure.
'' export CXXCPP="g++ -E"
'';
patchPhase = '' patchPhase = ''
# Fix absolute paths. # Fix absolute paths.
sed -e 's=/bin/mv=mv=g' -e 's=/bin/rm=rm=g' \ sed -e 's=/bin/mv=mv=g' -e 's=/bin/rm=rm=g' \
-e 's=/tmp=$TMPDIR=g' -i configure autoconf/* \ -e 's=/tmp=$TMPDIR=g' -i configure autoconf/* \
[Mm]akefile* */[Mm]akefile* */*/[Mm]akefile* \ [Mm]akefile* */[Mm]akefile* */*/[Mm]akefile* \
*/*/*/[Mm]akefile* */*/*/*/[Mm]akefile* \ */*/*/[Mm]akefile* */*/*/*/[Mm]akefile* \
comptime/Cc/cc.scm gc/install-gc-* comptime/Cc/cc.scm gc/install-*
# Make sure we don't change string lengths in the generated # Make sure we don't change string lengths in the generated
# C files. # C files.
@ -24,7 +29,7 @@ stdenv.mkDerivation rec {
checkTarget = "test"; checkTarget = "test";
meta = { meta = {
description = "Bigloo, an efficient Scheme compiler"; description = "Bigloo, an efficient Scheme compiler";
longDescription = '' longDescription = ''
@ -39,7 +44,7 @@ stdenv.mkDerivation rec {
between Scheme and C# programs. between Scheme and C# programs.
''; '';
homepage = http://www-sop.inria.fr/mimosa/fp/Bigloo/; homepage = http://www-sop.inria.fr/indes/fp/Bigloo/;
license = "GPLv2+"; license = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.ludo ]; maintainers = [ stdenv.lib.maintainers.ludo ];