Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 41 lines 826 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, google_resumable_media 5, google_api_core 6, google_cloud_core 7, pytest 8, mock 9, setuptools 10, isPy38 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-storage"; 15 version = "1.23.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "c66e876ae9547884fa42566a2ebfec51d280f488d7a058af9611ba90c78bed78"; 20 }; 21 22 propagatedBuildInputs = [ 23 google_resumable_media 24 google_api_core 25 google_cloud_core 26 setuptools 27 ]; 28 checkInputs = [ pytest mock ]; 29 30 checkPhase = '' 31 pytest tests/unit 32 ''; 33 34 meta = with stdenv.lib; { 35 description = "Google Cloud Storage API client library"; 36 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; 37 license = licenses.asl20; 38 maintainers = [ maintainers.costrouc ]; 39 broken = isPy38; 40 }; 41}