nixpkgs/pkgs/development/python-modules/yalexs/default.nix
Thane Gill 5398b79f39 python314Packages.yalexs: drop stale aiounittest test input
yalexs 9.2.7 no longer uses aiounittest in its test suite, but it remained in nativeCheckInputs. aiounittest is unsupported on Python 3.14, so the dead dependency broke the build (and the august/yale/yale_home Home Assistant components). Remove it.
2026-06-12 20:14:06 -07:00

72 lines
1.4 KiB
Nix

{
lib,
aiofiles,
aiohttp,
aioresponses,
buildPythonPackage,
ciso8601,
fetchFromGitHub,
freenub,
poetry-core,
propcache,
pyjwt,
pytest-asyncio,
pytest-cov-stub,
pytest-freezegun,
pytestCheckHook,
python-dateutil,
python-socketio,
requests-mock,
requests,
typing-extensions,
}:
buildPythonPackage rec {
pname = "yalexs";
version = "9.2.7";
pyproject = true;
src = fetchFromGitHub {
owner = "bdraco";
repo = "yalexs";
tag = "v${version}";
hash = "sha256-HZN3ot5z/JbWZaWLffyTWLneD1gG3tTdYLKevXYnJnw=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [ "aiohttp" ];
dependencies = [
aiofiles
aiohttp
ciso8601
freenub
propcache
pyjwt
python-dateutil
python-socketio
requests
typing-extensions
]
++ python-socketio.optional-dependencies.asyncio_client;
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytest-freezegun
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "yalexs" ];
meta = {
description = "Python API for Yale Access (formerly August) Smart Lock and Doorbell";
homepage = "https://github.com/bdraco/yalexs";
changelog = "https://github.com/bdraco/yalexs/blob/${src.tag}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}