diff --git a/pkgs/development/python-modules/google-cloud-monitoring/default.nix b/pkgs/development/python-modules/google-cloud-monitoring/default.nix index 390aaf14b618..f4e381ace9df 100644 --- a/pkgs/development/python-modules/google-cloud-monitoring/default.nix +++ b/pkgs/development/python-modules/google-cloud-monitoring/default.nix @@ -3,12 +3,12 @@ , fetchPypi , google-api-core , google-cloud-testutils -, libcst +, mock , proto-plus , pandas , pytestCheckHook , pytest-asyncio -, mock +, protobuf , pythonOlder }: @@ -25,18 +25,23 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - libcst google-api-core proto-plus - ]; + protobuf + ] ++ google-api-core.optional-dependencies.grpc; + + passthru.optional-dependencies = { + pandas = [ + pandas + ]; + }; checkInputs = [ google-cloud-testutils mock - pandas pytestCheckHook pytest-asyncio - ]; + ] ++ passthru.optional-dependencies.pandas; disabledTests = [ # requires credentials