9 , google-cloud-testutils
10 , google-resumable-media
15 buildPythonPackage rec {
16 pname = "google-cloud-storage";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-OC80uR3iIS48LntA7AedJ+4uPbuumbdbG82MYwY84jU=";
27 propagatedBuildInputs = [
30 google-resumable-media
36 google-cloud-testutils
41 # disable tests which require credentials and network access
53 "test_anonymous_client_access_to_public_bucket"
57 "tests/unit/test_bucket.py"
58 "tests/system/test_blob.py"
59 "tests/system/test_bucket.py"
60 "tests/system/test_fileio.py"
61 "tests/system/test_kms_integration.py"
65 # prevent google directory from shadowing google imports
68 # requires docker and network
69 rm tests/conformance/test_conformance.py
72 pythonImportsCheck = [ "google.cloud.storage" ];
75 description = "Google Cloud Storage API client library";
76 homepage = "https://github.com/googleapis/python-storage";
77 license = licenses.asl20;
78 maintainers = with maintainers; [ SuperSandro2000 ];