diff options
Diffstat (limited to 'nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix b/nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix new file mode 100644 index 000000000000..a538f731473b --- /dev/null +++ b/nixpkgs/pkgs/development/interpreters/python/cpython/docs/default.nix @@ -0,0 +1,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 |