1{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }: 2 3buildPythonApplication rec { 4 pname = "mypy-protobuf"; 5 version = "2.10"; 6 format = "pyproject"; 7 8 disabled = pythonOlder "3.6"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "1fed214e16351b09946770794a321a818abb744078b1d863a479da070028684c"; 13 }; 14 15 propagatedBuildInputs = [ protobuf types-protobuf grpcio-tools ]; 16 17 meta = with lib; { 18 description = "Generate mypy stub files from protobuf specs"; 19 homepage = "https://github.com/dropbox/mypy-protobuf"; 20 license = licenses.asl20; 21 maintainers = with maintainers; [ lnl7 ]; 22 }; 23}