python39Packages.typeguard: fix build on python<3.10
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, typing-extensions
|
||||
, importlib-metadata
|
||||
, sphinxHook
|
||||
, sphinx-autodoc-typehints
|
||||
, sphinx-rtd-theme
|
||||
@@ -40,6 +41,8 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
] ++ lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
env.LC_ALL = "en_US.utf-8";
|
||||
|
||||
Reference in New Issue
Block a user