Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi 2, google_api_core, grpcio, pytest, mock }: 3 4buildPythonPackage rec { 5 pname = "google-cloud-core"; 6 version = "0.29.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "d85b1aaaf3bad9415ad1d8ee5eadce96d7007a82f13ce0a0629a003a11e83f29"; 11 }; 12 13 propagatedBuildInputs = [ google_api_core grpcio ]; 14 checkInputs = [ pytest mock ]; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "API Client library for Google Cloud: Core Helpers"; 22 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ vanschelven ]; 25 }; 26}