mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
python39Packages.typeguard: fix build on python<3.10
This commit is contained in:
parent
f7c4f8550f
commit
1697051b33
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user