6 google-cloud-testutils,
21 buildPythonPackage rec {
22 pname = "google-cloud-pubsub";
26 disabled = pythonOlder "3.7";
29 pname = "google_cloud_pubsub";
31 hash = "sha256-cRnbxa9LkV7N+hKJkZ95GkMpJ+qqe7++t0Dm1wIMGB4=";
34 build-system = [ setuptools ];
46 ] ++ google-api-core.optional-dependencies.grpc;
48 optional-dependencies = {
53 google-cloud-testutils
59 # prevent google directory from shadowing google imports
64 # Tests in pubsub_v1 attempt to contact pubsub.googleapis.com
65 "tests/unit/pubsub_v1"
68 pythonImportsCheck = [ "google.cloud.pubsub" ];
71 description = "Google Cloud Pub/Sub API client library";
72 homepage = "https://github.com/googleapis/python-pubsub";
73 changelog = "https://github.com/googleapis/python-pubsub/blob/v${version}/CHANGELOG.md";
74 license = licenses.asl20;
76 mainProgram = "fixup_pubsub_v1_keywords.py";