8 , google-cloud-testutils
9 , google-resumable-media
17 buildPythonPackage rec {
18 pname = "google-cloud-storage";
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
25 inherit pname version;
26 hash = "sha256-k0sx6tXzmU5TYPn/V1CYLFtrEWBNwHK8RSwlll4Hbcc=";
29 propagatedBuildInputs = [
32 google-resumable-media
36 passthru.optional-dependencies = {
45 google-cloud-testutils
50 # Disable tests which require credentials and network access
62 "test_anonymous_client_access_to_public_bucket"
63 "test_ctor_w_custom_endpoint_use_auth"
67 "tests/unit/test_bucket.py"
68 "tests/system/test_blob.py"
69 "tests/system/test_bucket.py"
70 "tests/system/test_fileio.py"
71 "tests/system/test_kms_integration.py"
72 "tests/unit/test_transfer_manager.py"
76 # prevent google directory from shadowing google imports
79 # requires docker and network
80 rm tests/conformance/test_conformance.py
83 pythonImportsCheck = [
84 "google.cloud.storage"
88 description = "Google Cloud Storage API client library";
89 homepage = "https://github.com/googleapis/python-storage";
90 changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md";
91 license = licenses.asl20;
92 maintainers = with maintainers; [ ];