3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix
Anders Kaseorg c4b5000fac python3Packages.mypy-protobuf: Add missing build inputs
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-09-17 11:42:41 -07:00

23 lines
639 B
Nix

{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }:
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "2.9";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "278172935d7121c2f8c7c0a05518dd565a2b76d9e9c4a0a3fcd08a21fa685d43";
};
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 ];
};
}