Merge pull request #301523 from fabaff/glances-api-bump

python312Packages.glances-api: 0.5.1 -> 0.6.0
This commit is contained in:
Fabian Affolter 2024-04-04 18:29:02 +02:00 committed by GitHub
commit 3428d33b86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,35 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, httpx
, poetry-core
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
poetry-core,
pytest-asyncio,
pytest-httpx,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "glances-api";
version = "0.5.1";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "python-glances-api";
rev = "refs/tags/${version}";
hash = "sha256-hRzSNpmyZ91Ca45o0A3rnvsrGPFQRBcWBjryYXqZPH4=";
hash = "sha256-k/F4q1+bO6p/PW8iEiiCX6yXKbS8SHXVR8mEGezOrRE=";
};
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
httpx
];
dependencies = [ httpx ];
nativeCheckInputs = [
pytest-asyncio
@ -37,9 +34,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"glances_api"
];
pythonImportsCheck = [ "glances_api" ];
meta = with lib; {
description = "Python API for interacting with Glances";