python313Packages.aiohomematic: init at 2025.8.6

Module to interact with HomeMatic devices

https://github.com/SukramJ/aiohomematic
This commit is contained in:
Fabian Affolter 2025-08-16 02:38:13 +02:00
parent 7a7bc919db
commit a75b67387e
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,65 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
freezegun,
orjson,
pydevccu,
pytest-asyncio,
pytest-socket,
pytestCheckHook,
python-slugify,
setuptools,
voluptuous,
}:
buildPythonPackage rec {
pname = "aiohomematic";
version = "2025.8.6";
pyproject = true;
src = fetchFromGitHub {
owner = "SukramJ";
repo = "aiohomematic";
tag = version;
hash = "sha256-HmcBl+uFjEeyZdilqqTxQ8wrFbDr/8tsh/l0yoVfYJg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools==80.9.0" "setuptools"
'';
build-system = [ setuptools ];
dependencies = [
aiohttp
orjson
python-slugify
voluptuous
];
nativeCheckInputs = [
freezegun
pydevccu
pytest-asyncio
pytest-socket
pytestCheckHook
];
pythonImportsCheck = [ "aiohomematic" ];
disabledTests = [
# AssertionError: assert 548 == 555
"test_central_full"
];
meta = {
description = "Module to interact with HomeMatic devices";
homepage = "https://github.com/SukramJ/aiohomematic";
changelog = "https://github.com/SukramJ/aiohomematic/blob/${src.tag}/changelog.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -290,6 +290,8 @@ self: super: with self; {
aiohomekit = callPackage ../development/python-modules/aiohomekit { };
aiohomematic = callPackage ../development/python-modules/aiohomematic { };
aiohttp = callPackage ../development/python-modules/aiohttp { };
aiohttp-apispec = callPackage ../development/python-modules/aiohttp-apispec { };