Fabian Affolter 2024-11-29 08:27:32 +01:00
parent 6f48feb653
commit cafc21fb16

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "glances-api";
version = "0.8.0";
version = "0.9.0";
pyproject = true;
disabled = pythonOlder "3.11";
@ -22,17 +22,9 @@ buildPythonPackage rec {
owner = "home-assistant-ecosystem";
repo = "python-glances-api";
rev = "refs/tags/${version}";
hash = "sha256-QAnwFX53jf7yWWa308/XTARNw5Qeo9K2zfD+6+HiFuM=";
hash = "sha256-VLsNMFFt+kMxNw/81OMX4Fg/xCbQloCURmV0OxvClq8=";
};
patches = [
(fetchpatch2 {
name = "pytest-httpx-compat.patch";
url = "https://github.com/home-assistant-ecosystem/python-glances-api/commit/f193472a25469e7e4b946f9a1c3a7a95949c6c04.patch";
hash = "sha256-hFeWv2WdbdeoaHgAOmwtBwWwPLjJzyurTZDV98qR7F8=";
})
];
build-system = [ poetry-core ];
dependencies = [ httpx ];
@ -49,7 +41,7 @@ buildPythonPackage rec {
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/${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}