python3{6,7}.importlib-metadata: fix build
This commit is contained in:
parent
3de1bde19a
commit
b657712094
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue