python37Packages.sphinxcontrib-spelling: fix deps

This commit is contained in:
Jonathan Ringer 2020-11-05 15:40:20 -08:00
parent baa855134f
commit 8085616634

View File

@ -1,6 +1,9 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, sphinx
, pyenchant
, pbr
@ -15,7 +18,8 @@ buildPythonPackage rec {
sha256 = "c8250ff02e6033c3aeabc41e91dc185168fecefb0c5722aaa3e2055a829e1e4c";
};
propagatedBuildInputs = [ sphinx pyenchant pbr ];
propagatedBuildInputs = [ sphinx pyenchant pbr ]
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
# No tests included
doCheck = false;