mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
55 lines
1.7 KiB
Nix
55 lines
1.7 KiB
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bigloo-${version}";
|
|
version = "3.7a";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo${version}.tar.gz";
|
|
sha256 = "0y8i87c2bpqzap8rhzgpyfgdzq21py5xq6mgp0w6xv4rjcj9d0v1";
|
|
};
|
|
|
|
preConfigure =
|
|
# Help libgc's configure.
|
|
'' export CXXCPP="g++ -E"
|
|
'';
|
|
|
|
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* \
|
|
comptime/Cc/cc.scm gc/install-*
|
|
|
|
# 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
|
|
'';
|
|
|
|
checkTarget = "test";
|
|
|
|
meta = {
|
|
description = "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/indes/fp/Bigloo/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
};
|
|
}
|