Files
nixpkgs/pkgs/development/python-modules/pyoverkiz/default.nix
2025-08-24 04:20:35 +00:00

57 lines
1.0 KiB
Nix

{
lib,
aiohttp,
attrs,
backoff,
boto3,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pyhumps,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
warrant-lite,
}:
buildPythonPackage rec {
pname = "pyoverkiz";
version = "1.18.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "iMicknl";
repo = "python-overkiz-api";
tag = "v${version}";
hash = "sha256-kGcDZp1oLkjHy/+iAdnsAceSY+jX9+hw3mFxCaT18YA=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
attrs
backoff
boto3
pyhumps
warrant-lite
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pyoverkiz" ];
meta = with lib; {
description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs";
homepage = "https://github.com/iMicknl/python-overkiz-api";
changelog = "https://github.com/iMicknl/python-overkiz-api/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}