python3Packages.aiospinel: init at 1.2.0

New dependency for zigpy-ziggurat.
This commit is contained in:
Martin Weinelt
2026-08-05 19:28:50 +02:00
parent 7fe9ace582
commit 27ffcdcb55
2 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
typing-extensions,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
pytest-timeout,
}:
buildPythonPackage (finalAttrs: {
pname = "aiospinel";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "aiospinel";
tag = "v${finalAttrs.version}";
hash = "sha256-AMIrm9AGFjRSDwJtDXcOH9HIBFiqszjjNma+egRa5Tw=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
pytest-timeout
];
pythonImportsCheck = [
"aiospinel"
];
__structuredAttrs = true;
meta = {
description = "Asyncio implementation of the Spinel protocol used to communicate with OpenThread RCPs over a serial connection";
homepage = "https://github.com/home-assistant-libs/aiospinel";
changelog = "https://github.com/home-assistant-libs/aiospinel/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
})

View File

@@ -560,6 +560,8 @@ self: super: with self; {
aiosonos = callPackage ../development/python-modules/aiosonos { };
aiospinel = callPackage ../development/python-modules/aiospinel { };
aiosql = callPackage ../development/python-modules/aiosql { };
aiosqlite = callPackage ../development/python-modules/aiosqlite { };