From e83cb1aeb33912119df8127100fa07729eac0bdb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Apr 2026 14:22:06 +0200 Subject: [PATCH 1/2] python3Packages.aioslimproto: 3.1.7 -> 3.1.8 Diff: https://github.com/home-assistant-libs/aioslimproto/compare/3.1.7...3.1.8 Changelog: https://github.com/home-assistant-libs/aioslimproto/releases/tag/3.1.8 --- pkgs/development/python-modules/aioslimproto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioslimproto/default.nix b/pkgs/development/python-modules/aioslimproto/default.nix index 4fa007c82f14..763dd3d32c75 100644 --- a/pkgs/development/python-modules/aioslimproto/default.nix +++ b/pkgs/development/python-modules/aioslimproto/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "aioslimproto"; - version = "3.1.7"; + version = "3.1.8"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aioslimproto"; tag = version; - hash = "sha256-mbzc3Td9XkxDrtPeIbrZdxn8YLV6yjQ+KXgaRC1GdFc="; + hash = "sha256-xHdwikriA6mcb7tmElqa6suINYxeyyGZQ5iO+P7dRCo="; }; postPatch = '' From 403fdd30b6b7d87065f3543ec977cef275c0b9a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Apr 2026 14:23:36 +0200 Subject: [PATCH 2/2] python3Packages.aioslimproto: migrate to finalAttrs --- .../python-modules/aioslimproto/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aioslimproto/default.nix b/pkgs/development/python-modules/aioslimproto/default.nix index 763dd3d32c75..eba6bf22859c 100644 --- a/pkgs/development/python-modules/aioslimproto/default.nix +++ b/pkgs/development/python-modules/aioslimproto/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aioslimproto"; version = "3.1.8"; pyproject = true; @@ -16,13 +16,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "aioslimproto"; - tag = version; + tag = "v${finalAttrs.version}"; hash = "sha256-xHdwikriA6mcb7tmElqa6suINYxeyyGZQ5iO+P7dRCo="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.0.0"' 'version = "${version}"' + --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' ''; build-system = [ setuptools ]; @@ -41,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Module to control Squeezebox players"; homepage = "https://github.com/home-assistant-libs/aioslimproto"; - changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${src.tag}"; + changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})