diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-27 19:56:39 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-27 19:56:39 +0200 |
commit | dfd905b548e943f31eac36d487089116c2af10fb (patch) | |
tree | 52c63a548be5625a73b01ce19ec53d14504685a0 /pkgs/development/python-modules/sphinx | |
parent | 42e639066b28922bc3629e4994d336a00897f554 (diff) | |
download | nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar.gz nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar.bz2 nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar.lz nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar.xz nixlib-dfd905b548e943f31eac36d487089116c2af10fb.tar.zst nixlib-dfd905b548e943f31eac36d487089116c2af10fb.zip |
python.pkgs.sphinx: fix python < 3.5 build
Diffstat (limited to 'pkgs/development/python-modules/sphinx')
-rw-r--r-- | pkgs/development/python-modules/sphinx/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index 605ab3b3a602..a96a31824f78 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -21,6 +21,7 @@ , imagesize , requests , sphinxcontrib-websupport +, typing }: buildPythonPackage rec { @@ -52,7 +53,7 @@ buildPythonPackage rec { imagesize requests sphinxcontrib-websupport - ]; + ] ++ lib.optional (pythonOlder "3.5") typing; # Lots of tests. Needs network as well at some point. doCheck = false; |