1{ stdenv, fetchPypi, buildPythonApplication, protobuf }:
2
3buildPythonApplication rec {
4 pname = "mypy-protobuf";
5 version = "1.16";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "72ab724299aebd930b88476f6545587bff5bf480697c016097bd188841a56276";
10 };
11
12 propagatedBuildInputs = [ protobuf ];
13
14 meta = with stdenv.lib; {
15 description = "Generate mypy stub files from protobuf specs";
16 homepage = "https://github.com/dropbox/mypy-protobuf";
17 license = licenses.asl20;
18 maintainers = with maintainers; [ lnl7 ];
19 };
20}