summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/cpython/docs/default.nix
blob: a2d6a35ba8b5d5ed16e4e4272f59d68dc1af061d (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  stdenv,
  fetchurl,
  lib,
}:

let
  pythonDocs = {
    html = {
      recurseForDerivations = true;
      python27 = import ./2.7-html.nix {
        inherit stdenv fetchurl lib;
      };
      python310 = import ./3.10-html.nix {
        inherit stdenv fetchurl lib;
      };
    };
    pdf_a4 = {
      recurseForDerivations = true;
      python27 = import ./2.7-pdf-a4.nix {
        inherit stdenv fetchurl lib;
      };
      python310 = import ./3.10-pdf-a4.nix {
        inherit stdenv fetchurl lib;
      };
    };
    pdf_letter = {
      recurseForDerivations = true;
      python27 = import ./2.7-pdf-letter.nix {
        inherit stdenv fetchurl lib;
      };
      python310 = import ./3.10-pdf-letter.nix {
        inherit stdenv fetchurl lib;
      };
    };
    text = {
      recurseForDerivations = true;
      python27 = import ./2.7-text.nix {
        inherit stdenv fetchurl lib;
      };
      python310 = import ./3.10-text.nix {
        inherit stdenv fetchurl lib;
      };
    };
    texinfo = {
      recurseForDerivations = true;
      python310 = import ./3.10-texinfo.nix {
        inherit stdenv fetchurl lib;
      };
    };
  };
in
pythonDocs