2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonApplication, protobuf }:
|
2018-08-17 00:34:39 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mypy-protobuf";
|
2020-08-16 18:31:08 +01:00
|
|
|
version = "1.23";
|
2018-08-17 00:34:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:08 +01:00
|
|
|
sha256 = "cf79c77e828a2de9bdc74b43ad4abd4c2a3a30f0471b46e9b4e01b9877f166fb";
|
2018-08-17 00:34:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ protobuf ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-17 00:34:39 +01:00
|
|
|
description = "Generate mypy stub files from protobuf specs";
|
|
|
|
homepage = "https://github.com/dropbox/mypy-protobuf";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ lnl7 ];
|
|
|
|
};
|
|
|
|
}
|