{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, poetry-core, setuptools, }: buildPythonPackage rec { pname = "incomfort-client"; version = "0.6.11"; pyproject = true; src = fetchFromGitHub { owner = "zxdavb"; repo = "incomfort-client"; tag = "v${version}"; hash = "sha256-HCawa+eFpC0t/dC8fQ+teMaPpuxrYBprEV8SxnhZ1ls="; }; build-system = [ poetry-core ]; dependencies = [ aiohttp ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "incomfortclient" ]; meta = { description = "Python module to poll Intergas boilers via a Lan2RF gateway"; homepage = "https://github.com/zxdavb/incomfort-client"; changelog = "https://github.com/jbouwh/incomfort-client/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }