python3Packages.mypy-protobuf_3_6: init at 3.6.0

This commit is contained in:
Sigmanificient
2026-03-09 03:19:23 +01:00
parent cc5043352e
commit fa311c3ba4
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
buildPythonPackage,
fetchFromGitHub,
grpcio-tools,
lib,
protobuf,
pytestCheckHook,
setuptools,
types-protobuf,
versionCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "mypy-protobuf";
version = "3.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nipunn1313";
repo = "mypy-protobuf";
tag = "v${finalAttrs.version}";
hash = "sha256-YBm/qfmas0kPmzhlgAwCdT8nsnC45fj2bhK3cXpvANo=";
};
pythonRelaxDeps = [ "protobuf" ];
build-system = [ setuptools ];
dependencies = [
grpcio-tools
protobuf
types-protobuf
];
doCheck = false; # ModuleNotFoundError: No module named 'testproto'
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mypy_protobuf" ];
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
changelog = "https://github.com/nipunn1313/mypy-protobuf/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Generate mypy stub files from protobuf specs";
homepage = "https://github.com/nipunn1313/mypy-protobuf";
license = lib.licenses.asl20;
mainProgram = "protoc-gen-mypy";
maintainers = with lib.maintainers; [ sigmanificient ];
};
})
+2
View File
@@ -10721,6 +10721,8 @@ self: super: with self; {
mypy-protobuf = callPackage ../development/python-modules/mypy-protobuf { };
mypy-protobuf_3_6 = callPackage ../development/python-modules/mypy-protobuf_3_6 { };
mypyllant = callPackage ../development/python-modules/mypyllant { };
mysql-connector = callPackage ../development/python-modules/mysql-connector { };