1{ stdenv, fetchPypi, buildPythonApplication, protobuf }:
2
3buildPythonApplication rec {
4 pname = "mypy-protobuf";
5 version = "1.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1bmpd82qm7rjnzc4i275lm18mmz8anhrjhwq2ci179l64hrfr0nb";
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}