diff --git a/pkgs/development/python-modules/google-cloud-datastore/default.nix b/pkgs/development/python-modules/google-cloud-datastore/default.nix index 037d5529d57b..8da81a155a30 100644 --- a/pkgs/development/python-modules/google-cloud-datastore/default.nix +++ b/pkgs/development/python-modules/google-cloud-datastore/default.nix @@ -3,12 +3,13 @@ , fetchPypi , google-api-core , google-cloud-core -, libcst -, proto-plus -, mock -, pytestCheckHook -, pytest-asyncio , google-cloud-testutils +, libcst +, mock +, proto-plus +, protobuf +, pytest-asyncio +, pytestCheckHook , pythonOlder }: @@ -28,7 +29,14 @@ buildPythonPackage rec { google-api-core google-cloud-core proto-plus - ]; + protobuf + ] ++ google-api-core.optional-dependencies.grpc; + + passthru.optional-dependencies = { + libcst = [ + libcst + ]; + }; passthru.optional-dependencies = { libcst = [