8 , google-cloud-testutils
9 , google-resumable-media
19 buildPythonPackage rec {
20 pname = "google-cloud-storage";
24 disabled = pythonOlder "3.7";
27 inherit pname version;
28 hash = "sha256-3aSF+lA3EKgo0BJGvRbOnbCCPcUbvKdCzpamgX1YZp8=";
40 propagatedBuildInputs = [
43 google-resumable-media
47 passthru.optional-dependencies = {
56 google-cloud-testutils
61 # Disable tests which require credentials and network access
73 "test_anonymous_client_access_to_public_bucket"
74 "test_ctor_w_custom_endpoint_use_auth"
75 "test_ctor_w_api_endpoint_override"
79 "tests/unit/test_bucket.py"
80 "tests/system/test_blob.py"
81 "tests/system/test_bucket.py"
82 "tests/system/test_fileio.py"
83 "tests/system/test_kms_integration.py"
84 "tests/unit/test_transfer_manager.py"
88 # prevent google directory from shadowing google imports
91 # requires docker and network
92 rm tests/conformance/test_conformance.py
95 pythonImportsCheck = [
96 "google.cloud.storage"
100 description = "Google Cloud Storage API client library";
101 homepage = "https://github.com/googleapis/python-storage";
102 changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md";
103 license = licenses.asl20;
104 maintainers = with maintainers; [ ];