6 googleapis-common-protos,
20 buildPythonPackage rec {
21 pname = "google-api-core";
25 disabled = pythonOlder "3.7";
27 src = fetchFromGitHub {
29 repo = "python-api-core";
31 hash = "sha256-6U5rNhF4AYWae50pNIqDdlMzRhW4iV9vPlMPXN11DqQ=";
34 build-system = [ setuptools ];
37 googleapis-common-protos
44 optional-dependencies = {
45 async_rest = [ google-auth ] ++ google-auth.optional-dependencies.aiohttp;
50 grpcgcp = [ grpcio-gcp ];
51 grpcio-gcp = [ grpcio-gcp ];
60 # prevent google directory from shadowing google imports
66 # Those grpc_helpers tests are failing
67 "test_wrap_unary_errors"
68 "test_wrap_stream_errors_raised"
69 "test_wrap_stream_errors_read"
70 "test_wrap_stream_errors_aiter"
71 "test_wrap_stream_errors_write"
72 "test_wrap_unary_errors"
73 "test___next___w_rpc_error"
74 "test_wrap_stream_errors_invocation"
75 "test_wrap_stream_errors_iterator_initialization"
76 "test_wrap_stream_errors_during_iteration"
77 "test_exception_with_error_code"
80 pythonImportsCheck = [ "google.api_core" ];
83 description = "Core Library for Google Client Libraries";
85 This library is not meant to stand-alone. Instead it defines common
86 helpers used by all Google API clients.
88 homepage = "https://github.com/googleapis/python-api-core";
89 changelog = "https://github.com/googleapis/python-api-core/blob/v${version}/CHANGELOG.md";
90 license = licenses.asl20;