From a5a9199cdb23434ec1b8a6721403bd106a122522 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 28 Dec 2022 18:40:59 +0100 Subject: [PATCH] python310Packages.google-cloud-datastore: adjust inputs --- .../google-cloud-datastore/default.nix | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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 = [