summary refs log tree commit diff
path: root/pkgs/data/documentation/rnrs/common.nix
blob: bd38389eb47e006926eff788af7e38b242821172 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ 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;

    broken = true;
  };
}