diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-12-28 12:59:17 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-12-28 18:17:40 +0100 |
commit | ef2b8791454427f8dffd99f975d8770838b5b557 (patch) | |
tree | 21ebac5592471bb2fa7407295ce02c83aca3df7f /pkgs/development/python-modules/google-api-core | |
parent | 76784926c3d59742ede374c15f30c869343ae15e (diff) |
python310Packages.google-api-core: 2.10.2 -> 2.11.0
Changelog: https://github.com/googleapis/python-api-core/blob/v2.11.0/CHANGELOG.md
Diffstat (limited to 'pkgs/development/python-modules/google-api-core')
-rw-r--r-- | pkgs/development/python-modules/google-api-core/default.nix | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/google-api-core/default.nix b/pkgs/development/python-modules/google-api-core/default.nix index c92eb490df0e2..9dfc1950fd6ea 100644 --- a/pkgs/development/python-modules/google-api-core/default.nix +++ b/pkgs/development/python-modules/google-api-core/default.nix @@ -4,38 +4,50 @@ , google-auth , googleapis-common-protos , grpcio +, grpcio-gcp , grpcio-status -, protobuf -, proto-plus -, requests , mock +, proto-plus +, protobuf , pytest-asyncio , pytestCheckHook , pythonOlder +, requests }: buildPythonPackage rec { pname = "google-api-core"; - version = "2.10.2"; + version = "2.11.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-EMBvdzn+V3gfh1Izdejho6RnS/Y5LNYTGjIiGCuXEyA="; + hash = "sha256-S5u11aOAoL76BXOzAmUbipqJJiwXMON79CPOxRGATCI="; }; propagatedBuildInputs = [ googleapis-common-protos google-auth - grpcio - grpcio-status protobuf proto-plus requests ]; + passthru.optional-dependencies = { + grpc = [ + grpcio + grpcio-status + ]; + grpcgcp = [ + grpcio-gcp + ]; + grpcio-gcp = [ + grpcio-gcp + ]; + }; + checkInputs = [ mock pytest-asyncio |