nixpkgs-suyu/pkgs/development/python-modules/mypy-protobuf/default.nix
Jack Michaud ab3dd3dbc2 python: mypy-protobuf: 1.23 -> 2.4
BREAKING CHANGE: Dropping compatibility with python <= 3.5
https://github.com/dropbox/mypy-protobuf/blob/master/CHANGELOG.md
2021-03-29 12:03:54 -07:00

22 lines
581 B
Nix

{ lib, fetchPypi, buildPythonApplication, protobuf, pythonOlder }:
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "2.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "77e10c476cdd3ee14535c2357e64deac6b1a69f33eb500d795b064acda48c66f";
};
propagatedBuildInputs = [ protobuf ];
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 ];
};
}