pythonPackages.natbib: fix for Python 3.5 (#21114)

pathlib is part of the standard library starting in version 3.5.
This commit is contained in:
Luis Pedro Coelho 2016-12-16 11:22:06 +01:00 committed by Franz Pletz
parent 1b6e2b9a19
commit f3108c5bd2

View File

@ -8254,8 +8254,9 @@ in {
pytestflakes pytestflakes
pytestpep8 pytestpep8
mock mock
pathlib ]
]; # pathlib was made part of standard library in 3.5:
++ (optionals (pythonOlder "3.4") [ pathlib ]);
meta = { meta = {
description = "Natural sorting for python"; description = "Natural sorting for python";