depot/third_party/nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

23 lines
652 B
Nix

{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }:
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "3.2.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cwqhUzfDjwRG++CPbGwjcO4B05USU2nUtw4IseLuMO4=";
};
propagatedBuildInputs = [ protobuf types-protobuf grpcio-tools ];
meta = with lib; {
description = "Generate mypy stub files from protobuf specs";
homepage = "https://github.com/dropbox/mypy-protobuf";
license = licenses.asl20;
maintainers = with maintainers; [ lnl7 ];
};
}