python313Packages.aiohomematic: init at 2025.8.6
Module to interact with HomeMatic devices https://github.com/SukramJ/aiohomematic
This commit is contained in:
parent
7a7bc919db
commit
a75b67387e
65
pkgs/development/python-modules/aiohomematic/default.nix
Normal file
65
pkgs/development/python-modules/aiohomematic/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user