6 , google-cloud-testutils
15 buildPythonPackage rec {
16 pname = "google-resumable-media";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-lyhS9sZfkz4VpKIQwrlpMHY7Rxl830ql9b6kNe+2Juc=";
27 propagatedBuildInputs = [
32 passthru.optional-dependencies = {
42 google-cloud-testutils
46 ] ++ passthru.optional-dependencies.requests;
49 # prevent shadowing imports
51 # fixture 'authorized_transport' not found
52 rm tests/system/requests/test_upload.py
54 rm tests/system/requests/test_download.py
57 pythonImportsCheck = [
58 "google._async_resumable_media"
59 "google.resumable_media"
63 description = "Utilities for Google Media Downloads and Resumable Uploads";
64 homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
65 changelog = "https://github.com/googleapis/google-resumable-media-python/blob/v${version}/CHANGELOG.md";
66 license = licenses.asl20;
67 maintainers = with maintainers; [ ];