Skip to content

Commit

Permalink
Merge pull request NixOS#294767 from mweinelt/chameleon-py39
Browse files Browse the repository at this point in the history
python39Packages.chameleon: propagate importlib-metadata
  • Loading branch information
mweinelt authored Mar 10, 2024
2 parents e9c8a18 + 8bc02ef commit 3fe65f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/chameleon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
, buildPythonPackage
, fetchFromGitHub
, setuptools
, importlib-metadata
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
Expand All @@ -21,6 +23,10 @@ buildPythonPackage rec {
setuptools
];

dependencies = lib.optionals (pythonOlder "3.10") [
importlib-metadata
];

nativeCheckInputs = [
pytestCheckHook
];
Expand Down

0 comments on commit 3fe65f3

Please sign in to comment.