mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Add R[345]RS, revisions of the Report on the Algorithmic Language Scheme.
svn path=/nixpkgs/trunk/; revision=11307
This commit is contained in:
parent
f19b97924c
commit
e63159998b
12
pkgs/data/documentation/rnrs/builder.sh
Normal file
12
pkgs/data/documentation/rnrs/builder.sh
Normal 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"
|
29
pkgs/data/documentation/rnrs/common.nix
Normal file
29
pkgs/data/documentation/rnrs/common.nix
Normal 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;
|
||||
};
|
||||
}
|
6
pkgs/data/documentation/rnrs/r3rs.nix
Normal file
6
pkgs/data/documentation/rnrs/r3rs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
args: with args;
|
||||
|
||||
((import ./common.nix)
|
||||
(args //
|
||||
{ revision = 3;
|
||||
sha256 = "0knrpkr74s8yn4xcqxkqpgxmzdmzrvahh1n1csqc1wwd2rb4vnpr"; }))
|
6
pkgs/data/documentation/rnrs/r4rs.nix
Normal file
6
pkgs/data/documentation/rnrs/r4rs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
args: with args;
|
||||
|
||||
((import ./common.nix)
|
||||
(args //
|
||||
{ revision = 4;
|
||||
sha256 = "02jgy0lvi5ymkdxwjasg50zl03zmyj8sgnfxxnjnbmif72c0k4p8"; }))
|
6
pkgs/data/documentation/rnrs/r5rs.nix
Normal file
6
pkgs/data/documentation/rnrs/r5rs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
args: with args;
|
||||
|
||||
((import ./common.nix)
|
||||
(args //
|
||||
{ revision = 5;
|
||||
sha256 = "1s2wcslwcgb9j89vjn7qs63qlnsv1481jaw1sgg33fgbgk6a8wrk"; }))
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue