Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 32 lines 696 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, six 5, requests 6, pytest 7, mock 8}: 9 10buildPythonPackage rec { 11 pname = "google-resumable-media"; 12 version = "0.3.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3e38923493ca0d7de0ad91c31acfefc393c78586db89364e91cb4f11990e51ba"; 17 }; 18 19 checkInputs = [ pytest mock ]; 20 propagatedBuildInputs = [ six requests ]; 21 22 checkPhase = '' 23 py.test tests/unit 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Utilities for Google Media Downloads and Resumable Uploads"; 28 homepage = https://github.com/GoogleCloudPlatform/google-resumable-media-python; 29 license = licenses.asl20; 30 maintainers = [ maintainers.costrouc ]; 31 }; 32}