2021-03-29 18:58:52 +01:00
|
|
|
{ lib, fetchPypi, buildPythonApplication, protobuf, pythonOlder }:
|
2018-08-17 00:34:39 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mypy-protobuf";
|
2021-03-29 18:58:52 +01:00
|
|
|
version = "2.4";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-08-17 00:34:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-29 18:58:52 +01:00
|
|
|
sha256 = "77e10c476cdd3ee14535c2357e64deac6b1a69f33eb500d795b064acda48c66f";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|