7 google-cloud-testutils,
16 buildPythonPackage rec {
17 pname = "google-resumable-media";
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
24 inherit pname version;
25 hash = "sha256-6uRRp7LizbqqD9LrAMyKHuXpXha1VZc1nLw9J9fZDjM=";
28 propagatedBuildInputs = [
33 optional-dependencies = {
34 requests = [ requests ];
35 aiohttp = [ aiohttp ];
39 google-cloud-testutils
43 ] ++ optional-dependencies.requests;
46 # prevent shadowing imports
48 # fixture 'authorized_transport' not found
49 rm tests/system/requests/test_upload.py
51 rm tests/system/requests/test_download.py
54 pythonImportsCheck = [
55 "google._async_resumable_media"
56 "google.resumable_media"
60 description = "Utilities for Google Media Downloads and Resumable Uploads";
61 homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
62 changelog = "https://github.com/googleapis/google-resumable-media-python/blob/v${version}/CHANGELOG.md";
63 license = licenses.asl20;