Skip to content

Commit

Permalink
python312Packages.glances-api: 0.8.0 -> 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Nov 29, 2024
1 parent 6f48feb commit cafc21f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions pkgs/development/python-modules/glances-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

buildPythonPackage rec {
pname = "glances-api";
version = "0.8.0";
version = "0.9.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -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 ];
Expand All @@ -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 ];
};
}

0 comments on commit cafc21f

Please sign in to comment.