{ lib, aenum, buildPythonPackage, fetchFromGitHub, aiohttp, aioresponses, hatchling, pydantic, pytest-asyncio, pytest-httpx, pytestCheckHook, rich, }: buildPythonPackage (finalAttrs: { pname = "intellifire4py"; version = "4.5.1"; pyproject = true; src = fetchFromGitHub { owner = "jeeftor"; repo = "intellifire4py"; tag = "v${finalAttrs.version}"; hash = "sha256-2L4T3GdjvhMk0GlRVZsh/aBP0DUosBDrP79eSX2Sc8g="; }; build-system = [ hatchling ]; dependencies = [ aiohttp aenum pydantic rich ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytest-httpx pytestCheckHook ]; pythonImportsCheck = [ "intellifire4py" ]; meta = { description = "Module to read Intellifire fireplace status data"; homepage = "https://github.com/jeeftor/intellifire4py"; changelog = "https://github.com/jeeftor/intellifire4py/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "intellifire4py"; }; })