Files
nixpkgs/pkgs/development/python-modules/aiohomematic/default.nix
T

59 lines
1.0 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
freezegun,
orjson,
pydevccu,
pytest-asyncio,
pytest-socket,
pytestCheckHook,
python-slugify,
setuptools,
voluptuous,
}:
buildPythonPackage rec {
pname = "aiohomematic";
version = "2025.11.7";
pyproject = true;
src = fetchFromGitHub {
owner = "SukramJ";
repo = "aiohomematic";
tag = version;
hash = "sha256-WKpcySWdw3yJeFgFR9JTv/MEaSGA/u2sENQH/ZXtds4=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
orjson
python-slugify
voluptuous
];
nativeCheckInputs = [
freezegun
pydevccu
pytest-asyncio
pytest-socket
pytestCheckHook
];
pythonImportsCheck = [ "aiohomematic" ];
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
];
};
}