Add R[345]RS, revisions of the Report on the Algorithmic Language Scheme.

svn path=/nixpkgs/trunk/; revision=11307
This commit is contained in:
Ludovic Courtès 2008-03-27 14:40:08 +00:00
parent f19b97924c
commit e63159998b
6 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,12 @@
source "$stdenv/setup" || exit 1
# XXX: Eventually we could consider building the PDF/PS files as well.
echo "source is \`$src', report name is \`$reportName'"
ensureDir "$out/share/info" && \
makeinfo -o "$out/share/info/${reportName}.info" "$src"
# XXX: HTML output is apparently broken.
#ensureDir "$out/share/doc/${reportName}" && \
#makeinfo -o "$out/share/doc/${reportName}/html" --html --force "$src"

View file

@ -0,0 +1,29 @@
{ fetchurl, stdenv, texinfo, revision, sha256 }:
stdenv.mkDerivation rec {
name = "r${toString revision}rs";
src = fetchurl {
url = "http://swiss.csail.mit.edu/ftpdir/scm/${name}.txi";
inherit sha256;
};
buildInputs = [ texinfo ];
# Tell the builder about the name of the report.
reportName = name;
builder = ./builder.sh;
meta = {
description = ''Revised^${toString revision} Report on the
Algorithmic Language Scheme'';
longDescription = ''
This package contains the GNU Info version of the
the ${toString revision}th revision of the Report on the
Algorithmic Language Scheme.
'';
homepage = http://swiss.csail.mit.edu/~jaffer/Scheme;
};
}

View file

@ -0,0 +1,6 @@
args: with args;
((import ./common.nix)
(args //
{ revision = 3;
sha256 = "0knrpkr74s8yn4xcqxkqpgxmzdmzrvahh1n1csqc1wwd2rb4vnpr"; }))

View file

@ -0,0 +1,6 @@
args: with args;
((import ./common.nix)
(args //
{ revision = 4;
sha256 = "02jgy0lvi5ymkdxwjasg50zl03zmyj8sgnfxxnjnbmif72c0k4p8"; }))

View file

@ -0,0 +1,6 @@
args: with args;
((import ./common.nix)
(args //
{ revision = 5;
sha256 = "1s2wcslwcgb9j89vjn7qs63qlnsv1481jaw1sgg33fgbgk6a8wrk"; }))

View file

@ -4594,6 +4594,18 @@ let pkgs = rec {
inherit fetchurl stdenv;
};
r3rs = import ../data/documentation/rnrs/r3rs.nix {
inherit fetchurl stdenv texinfo;
};
r4rs = import ../data/documentation/rnrs/r4rs.nix {
inherit fetchurl stdenv texinfo;
};
r5rs = import ../data/documentation/rnrs/r5rs.nix {
inherit fetchurl stdenv texinfo;
};
ttf_bitstream_vera = import ../data/fonts/ttf-bitstream-vera {
inherit fetchurl stdenv;
};