9 google-cloud-testutils,
10 google-resumable-media,
19 buildPythonPackage rec {
20 pname = "google-cloud-storage";
24 disabled = pythonOlder "3.7";
27 pname = "google_cloud_storage";
29 hash = "sha256-qves1wza2fJ00pMyZz/KuYcI0OH03OtaU1aq7wavTZk=";
32 pythonRelaxDeps = [ "google-auth" ];
34 build-system = [ setuptools ];
39 google-resumable-media
43 optional-dependencies = {
44 protobuf = [ protobuf ];
50 google-cloud-testutils
56 # Disable tests which require credentials and network access
61 "test_anonymous_client_access_to_public_bucket"
64 "test_ctor_w_api_endpoint_override"
65 "test_ctor_w_custom_endpoint_use_auth"
69 "test_set_api_request_attr"
74 "tests/unit/test_bucket.py"
75 "tests/system/test_blob.py"
76 "tests/system/test_bucket.py"
77 "tests/system/test_fileio.py"
78 "tests/system/test_kms_integration.py"
79 "tests/unit/test_transfer_manager.py"
83 # prevent google directory from shadowing google imports
86 # requires docker and network
87 rm tests/conformance/test_conformance.py
90 pythonImportsCheck = [ "google.cloud.storage" ];
93 description = "Google Cloud Storage API client library";
94 homepage = "https://github.com/googleapis/python-storage";
95 changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md";
96 license = licenses.asl20;