6 google-cloud-testutils,
19 buildPythonPackage rec {
20 pname = "google-cloud-pubsub";
24 disabled = pythonOlder "3.7";
27 pname = "google_cloud_pubsub";
29 hash = "sha256-4f3nm1tktyEpCvTAIpB6/LuDUS2S9OXDNMORz7sCKss=";
32 build-system = [ setuptools ];
42 ] ++ google-api-core.optional-dependencies.grpc;
44 optional-dependencies = {
49 google-cloud-testutils
55 # prevent google directory from shadowing google imports
60 # Tests in pubsub_v1 attempt to contact pubsub.googleapis.com
61 "tests/unit/pubsub_v1"
64 pythonImportsCheck = [ "google.cloud.pubsub" ];
67 description = "Google Cloud Pub/Sub API client library";
68 homepage = "https://github.com/googleapis/python-pubsub";
69 changelog = "https://github.com/googleapis/python-pubsub/blob/v${version}/CHANGELOG.md";
70 license = licenses.asl20;
72 mainProgram = "fixup_pubsub_v1_keywords.py";