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