about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix
blob: a538f731473b99af64fbc671b045657606cf304a (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
31
32
33
34
35
36
37
38
39
40
41
{ stdenv, fetchurl, lib }:

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