diff --git a/pkgs/development/python-modules/rich-pixels/default.nix b/pkgs/development/python-modules/rich-pixels/default.nix index 2c9249b886b3..9e40b4b52fcf 100644 --- a/pkgs/development/python-modules/rich-pixels/default.nix +++ b/pkgs/development/python-modules/rich-pixels/default.nix @@ -6,6 +6,7 @@ , syrupy , pillow , rich +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -22,6 +23,7 @@ buildPythonPackage rec { nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; nativeCheckInputs = [ @@ -37,6 +39,10 @@ buildPythonPackage rec { rich ]; + pythonRelaxDeps = [ + "pillow" + ]; + pythonImportsCheck = [ "rich_pixels" ]; meta = with lib; {