{ lib, buildPythonPackage, fetchFromGitHub, httpx, poetry-core, pytest-asyncio, pytest-httpx, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "glances-api"; version = "0.10.0"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-glances-api"; tag = finalAttrs.version; hash = "sha256-xYKjKbISNa1gIZMgmP+2HJFNoelZEzdP0oBoIzdI/Ro="; }; build-system = [ poetry-core ]; dependencies = [ httpx ]; nativeCheckInputs = [ pytest-asyncio pytest-httpx pytestCheckHook ]; pythonImportsCheck = [ "glances_api" ]; meta = { description = "Python API for interacting with Glances"; homepage = "https://github.com/home-assistant-ecosystem/python-glances-api"; changelog = "https://github.com/home-assistant-ecosystem/python-glances-api/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; })