{ lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, packaging, pytest-asyncio, pytestCheckHook, setuptools, }: buildPythonPackage (finalAttrs: { pname = "aiolyric"; version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "timmo001"; repo = "aiolyric"; tag = finalAttrs.version; hash = "sha256-jIJTQm86PBnLwJlYalEhppU01g02wbu20kpVvP4kXz0="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail .dev0 "" ''; build-system = [ setuptools ]; pythonRelaxDeps = [ "packaging" ]; dependencies = [ aiohttp packaging ]; nativeCheckInputs = [ aioresponses pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "aiolyric" ]; disabledTestPaths = [ # _version file is no shipped "tests/test__version.py" ]; meta = { description = "Python module for the Honeywell Lyric Platform"; homepage = "https://github.com/timmo001/aiolyric"; changelog = "https://github.com/timmo001/aiolyric/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; })