1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 grpc, 6 protobuf, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "googleapis-common-protos"; 13 version = "1.69.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 pname = "googleapis_common_protos"; 20 inherit version; 21 hash = "sha256-PhuQSiejPIIbS3Sf0x0zTAycMOYRMCPUleSJeaPcnF8="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 grpc 28 protobuf 29 ]; 30 31 # does not contain tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "google.api" 36 "google.logging" 37 "google.longrunning" 38 "google.rpc" 39 "google.type" 40 ]; 41 42 meta = with lib; { 43 description = "Common protobufs used in Google APIs"; 44 homepage = "https://github.com/googleapis/python-api-common-protos"; 45 changelog = "https://github.com/googleapis/python-api-common-protos/releases/tag/v${version}"; 46 license = licenses.asl20; 47 maintainers = [ ]; 48 }; 49}