diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index 8f09971eb0cb..c9a2f87f91a7 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -25,12 +25,17 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - ascii-magic oauthlib - pillow requests ]; + passthru.optional-dependencies = { + Images = [ + ascii-magic + pillow + ]; + }; + checkInputs = [ pytest-httpserver pytestCheckHook