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
This commit is contained in:
Jack Michaud 2021-03-29 10:58:52 -07:00
parent 76d378c147
commit ab3dd3dbc2

View file

@ -1,12 +1,14 @@
{ lib, fetchPypi, buildPythonApplication, protobuf }:
{ lib, fetchPypi, buildPythonApplication, protobuf, pythonOlder }:
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "1.23";
version = "2.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "cf79c77e828a2de9bdc74b43ad4abd4c2a3a30f0471b46e9b4e01b9877f166fb";
sha256 = "77e10c476cdd3ee14535c2357e64deac6b1a69f33eb500d795b064acda48c66f";
};
propagatedBuildInputs = [ protobuf ];