python39Packages.chameleon: propagate importlib-metadata

This commit is contained in:
Martin Weinelt 2024-03-10 17:15:29 +01:00
parent fcec23d1ac
commit 8bc02ef80c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,7 +2,9 @@
, buildPythonPackage
, fetchFromGitHub
, setuptools
, importlib-metadata
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@ -21,6 +23,10 @@ buildPythonPackage rec {
setuptools
];
dependencies = lib.optionals (pythonOlder "3.10") [
importlib-metadata
];
nativeCheckInputs = [
pytestCheckHook
];