python3Packages.enocean-async: init at 0.4.2

This commit is contained in:
Robert Schütz
2026-04-02 13:10:32 -07:00
parent 2d0083cf22
commit f512588bd8
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
lib,
pyserial-asyncio-fast,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "enocean-async";
version = "0.4.2";
pyproject = true;
disabled = pythonOlder "3.14";
src = fetchFromGitHub {
owner = "henningkerstan";
repo = "enocean-async";
tag = "v${finalAttrs.version}";
hash = "sha256-VBBZwNPBgJ9rXUaAVtRzgdebeDtfJCt7R1zOu3Eom80=";
};
build-system = [ setuptools ];
dependencies = [
pyserial-asyncio-fast
];
pythonImportsCheck = [ "enocean_async" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTestPaths = [
# tests have broken imports, fixed in 0.12.4
"tests/test_eep.py"
];
meta = {
changelog = "https://github.com/henningkerstan/enocean-async/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Async implementation of the EnOcean Serial Protocol Version 3";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.dotlambda ];
};
})
+2
View File
@@ -5014,6 +5014,8 @@ self: super: with self; {
enocean = callPackage ../development/python-modules/enocean { };
enocean-async = callPackage ../development/python-modules/enocean-async { };
enochecker-core = callPackage ../development/python-modules/enochecker-core { };
enrich = callPackage ../development/python-modules/enrich { };