From 08d356e59779ae23a22f460083078ed9c8fe82c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 26 Jan 2026 11:28:26 +0100 Subject: [PATCH 1/2] python313Packages.pyvicare: 2.55.1 -> 2.56.0 Diff: https://github.com/openviess/PyViCare/compare/2.55.1...2.56.0 Changelog: https://github.com/openviess/PyViCare/releases/tag/2.56.0 --- pkgs/development/python-modules/pyvicare/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvicare/default.nix b/pkgs/development/python-modules/pyvicare/default.nix index 0ba3442edbb3..e4de2f5e5fb9 100644 --- a/pkgs/development/python-modules/pyvicare/default.nix +++ b/pkgs/development/python-modules/pyvicare/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyvicare"; - version = "2.55.1"; + version = "2.56.0"; pyproject = true; src = fetchFromGitHub { owner = "openviess"; repo = "PyViCare"; tag = version; - hash = "sha256-fKQ0NXUsL8NgmKr8BEoGV2fty39l19fg4B6Eg90X2kI="; + hash = "sha256-DRCetTR7sFaShau3in0548FoR+rOaG28SGqfAjAVsn4="; }; postPatch = '' From 7c13439e115dadcd95c76eed8ac1443ffaceee5c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 26 Jan 2026 11:30:53 +0100 Subject: [PATCH 2/2] python313Packages.pyvicare: modernize --- pkgs/development/python-modules/pyvicare/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyvicare/default.nix b/pkgs/development/python-modules/pyvicare/default.nix index e4de2f5e5fb9..1072a8f0ae76 100644 --- a/pkgs/development/python-modules/pyvicare/default.nix +++ b/pkgs/development/python-modules/pyvicare/default.nix @@ -10,7 +10,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyvicare"; version = "2.56.0"; pyproject = true; @@ -18,13 +18,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "openviess"; repo = "PyViCare"; - tag = version; + tag = finalAttrs.version; hash = "sha256-DRCetTR7sFaShau3in0548FoR+rOaG28SGqfAjAVsn4="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.1.0"' 'version = "${version}"' + --replace-fail 'version = "0.1.0"' 'version = "${finalAttrs.version}"' ''; build-system = [ poetry-core ]; @@ -43,10 +43,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "PyViCare" ]; meta = { - changelog = "https://github.com/openviess/PyViCare/releases/tag/${src.tag}"; description = "Python Library to access Viessmann ViCare API"; homepage = "https://github.com/somm15/PyViCare"; - license = with lib.licenses; [ asl20 ]; + changelog = "https://github.com/openviess/PyViCare/releases/tag/${finalAttrs.version}"; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})