From 8bc02ef80c4e78d32d64d6b706a9415127a2534d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 10 Mar 2024 17:15:29 +0100 Subject: [PATCH] python39Packages.chameleon: propagate importlib-metadata --- pkgs/development/python-modules/chameleon/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/chameleon/default.nix b/pkgs/development/python-modules/chameleon/default.nix index ec6ab88447a5..3c97002f5dcd 100644 --- a/pkgs/development/python-modules/chameleon/default.nix +++ b/pkgs/development/python-modules/chameleon/default.nix @@ -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 ];