2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonApplication, protobuf }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mypy-protobuf";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.23";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "cf79c77e828a2de9bdc74b43ad4abd4c2a3a30f0471b46e9b4e01b9877f166fb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ protobuf ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Generate mypy stub files from protobuf specs";
|
|
|
|
homepage = "https://github.com/dropbox/mypy-protobuf";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ lnl7 ];
|
|
|
|
};
|
|
|
|
}
|