14 buildPythonPackage rec {
15 pname = "glances-api";
19 disabled = pythonOlder "3.11";
21 src = fetchFromGitHub {
22 owner = "home-assistant-ecosystem";
23 repo = "python-glances-api";
24 rev = "refs/tags/${version}";
25 hash = "sha256-QAnwFX53jf7yWWa308/XTARNw5Qeo9K2zfD+6+HiFuM=";
30 name = "pytest-httpx-compat.patch";
31 url = "https://github.com/home-assistant-ecosystem/python-glances-api/commit/f193472a25469e7e4b946f9a1c3a7a95949c6c04.patch";
32 hash = "sha256-hFeWv2WdbdeoaHgAOmwtBwWwPLjJzyurTZDV98qR7F8=";
36 build-system = [ poetry-core ];
38 dependencies = [ httpx ];
46 pythonImportsCheck = [ "glances_api" ];
49 description = "Python API for interacting with Glances";
50 homepage = "https://github.com/home-assistant-ecosystem/python-glances-api";
51 changelog = "https://github.com/home-assistant-ecosystem/python-glances-api/releases/tag/${version}";
52 license = with licenses; [ mit ];
53 maintainers = with maintainers; [ fab ];