python312Packages.glances-api: 0.8.0 -> 0.9.0 (#352978)

This commit is contained in:
Fabian Affolter 2024-11-30 13:28:35 +01:00 committed by GitHub
commit 183d460315
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];
};
}