python3{6,7}.importlib-metadata: fix build

This commit is contained in:
Jonathan Ringer 2021-03-24 10:20:43 -07:00 committed by Frederik Rietdijk
parent 3de1bde19a
commit b657712094

View file

@ -3,6 +3,7 @@
, fetchPypi
, pythonOlder
, setuptools-scm
, typing-extensions
, toml
, zipp
}:
@ -20,7 +21,12 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ toml zipp ];
propagatedBuildInputs = [
toml
zipp
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# Cyclic dependencies due to pyflakefs
doCheck = false;