{ lib , buildPythonPackage , fetchPypi , googleapis-common-protos , grpcio , protobuf , pythonOlder }: buildPythonPackage rec { pname = "grpcio-status"; version = "1.50.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "69be81c4317ec77983fb0eab80221a01e86e833e0fcf2f6acea0a62597c84b93"; }; postPatch = '' substituteInPlace setup.py \ --replace 'protobuf>=4.21.6' 'protobuf' ''; propagatedBuildInputs = [ googleapis-common-protos grpcio protobuf ]; # Projec thas no tests doCheck = false; pythonImportsCheck = [ "grpc_status" ]; meta = with lib; { description = "GRPC Python status proto mapping"; homepage = "https://github.com/grpc/grpc/tree/master/src/python/grpcio_status"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }