Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 35 lines 754 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, google_api_core 5, google_cloud_core 6, pytest 7, mock 8, webapp2 9, django 10, flask 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-logging"; 15 version = "1.10.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "13ac67399289b202b409e6cef7a87dea32ddabf902f69a677bd05554f6aecf0b"; 20 }; 21 22 checkInputs = [ pytest mock webapp2 django flask ]; 23 propagatedBuildInputs = [ google_api_core google_cloud_core ]; 24 25 checkPhase = '' 26 pytest tests/unit 27 ''; 28 29 meta = with stdenv.lib; { 30 description = "Stackdriver Logging API client library"; 31 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; 32 license = licenses.asl20; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}