1{ stdenv, buildPythonPackage, fetchPypi 2, google_api_core, grpcio, pytest, mock }: 3 4buildPythonPackage rec { 5 pname = "google-cloud-core"; 6 version = "0.28.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1h8bx99ksla48zkb7bhkqy66b8prg49dp15alh851vzi9ii2zii7"; 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}