Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

69 lines
1.3 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
freezegun,
orjson,
pydevccu,
pytest-asyncio,
pytest-socket,
pytestCheckHook,
python-slugify,
setuptools,
voluptuous,
}:
buildPythonPackage rec {
pname = "aiohomematic";
version = "2025.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "SukramJ";
repo = "aiohomematic";
tag = version;
hash = "sha256-6bJh+9giJaxmUB/UHRt/RmtoMYkCJ4ZF01WA2K6NF9Y=";
};
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; [
dotlambda
fab
];
};
}