Something went wrong. Try again.
lol
Something went wrong. Try again.
986 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ 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 ]; };})