Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 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.1"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "a70201ca9f3972ff0e3272c5628b22ed9227e10ac00e570c28087377733632df"; 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}