Merge pull request #294767 from mweinelt/chameleon-py39

python39Packages.chameleon: propagate importlib-metadata
This commit is contained in:
Martin Weinelt 2024-03-10 18:45:28 +01:00 committed by GitHub
commit 3fe65f3928
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
];