mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
python3Packages.aiospinel: init at 1.2.0
New dependency for zigpy-ziggurat.
This commit is contained in:
55
pkgs/development/python-modules/aiospinel/default.nix
Normal file
55
pkgs/development/python-modules/aiospinel/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user