From 754ac1c789aa7a7a4b70c35aa38a2103f78e464b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 May 2023 13:15:38 +0200 Subject: [PATCH 1/2] python310Packages.glances-api: 0.4.1 -> 0.4.2 Diff: https://github.com/home-assistant-ecosystem/python-glances-api/compare/0.4.1...0.4.2 --- pkgs/development/python-modules/glances-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/glances-api/default.nix b/pkgs/development/python-modules/glances-api/default.nix index bc9b3895c1c4..ee2b620d0605 100644 --- a/pkgs/development/python-modules/glances-api/default.nix +++ b/pkgs/development/python-modules/glances-api/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "glances-api"; - version = "0.4.1"; + version = "0.4.2"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "home-assistant-ecosystem"; repo = "python-glances-api"; rev = version; - hash = "sha256-IBEy19iouYAHIZwc/bnMgmHLrbfZjLni0Ne4o0I6FNg="; + hash = "sha256-fcQgwOYGhpwxSXfa1PYFOe2UDTEu+2YGIQmuSa5J0g4="; }; nativeBuildInputs = [ From 7045ef9fd859d77c6e27cce9f61f896c061e8bb3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 May 2023 13:18:06 +0200 Subject: [PATCH 2/2] python310Packages.glances-api: add changelog to meta --- pkgs/development/python-modules/glances-api/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/glances-api/default.nix b/pkgs/development/python-modules/glances-api/default.nix index ee2b620d0605..c57cee073f7d 100644 --- a/pkgs/development/python-modules/glances-api/default.nix +++ b/pkgs/development/python-modules/glances-api/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-glances-api"; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-fcQgwOYGhpwxSXfa1PYFOe2UDTEu+2YGIQmuSa5J0g4="; }; @@ -44,6 +44,7 @@ buildPythonPackage rec { meta = with lib; { 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 ]; maintainers = with maintainers; [ fab ]; };