From e2c08b2ce9240b40021647374154dd32d90a2d31 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 Feb 2026 00:04:45 +0100 Subject: [PATCH 1/2] python313Packages.aiostreammagic: 2.11.0 -> 2.12.1 Diff: https://github.com/noahhusby/aiostreammagic/compare/2.11.0...2.12.1 Changelog: https://github.com/noahhusby/aiostreammagic/releases/tag/2.12.1 --- pkgs/development/python-modules/aiostreammagic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiostreammagic/default.nix b/pkgs/development/python-modules/aiostreammagic/default.nix index 49e1a6b5884d..b0c79c0364e0 100644 --- a/pkgs/development/python-modules/aiostreammagic/default.nix +++ b/pkgs/development/python-modules/aiostreammagic/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aiostreammagic"; - version = "2.11.0"; + version = "2.12.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "noahhusby"; repo = "aiostreammagic"; tag = version; - hash = "sha256-8ahLB5F2JKpA4F21WWDFzrDxoOpIq+d1iXuCjQngGtc="; + hash = "sha256-CctTyRaJ8lVIniVEc+SmGk+UxW8pcAzhqzrqj1WtIwY="; }; build-system = [ poetry-core ]; From 794a6c4d1246f6c2105271ef4b38ee135d313040 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 Feb 2026 00:14:35 +0100 Subject: [PATCH 2/2] python313Packages.aiostreammagic: migrate to finalAttrs --- .../python-modules/aiostreammagic/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiostreammagic/default.nix b/pkgs/development/python-modules/aiostreammagic/default.nix index b0c79c0364e0..f9d59777dd71 100644 --- a/pkgs/development/python-modules/aiostreammagic/default.nix +++ b/pkgs/development/python-modules/aiostreammagic/default.nix @@ -6,21 +6,18 @@ mashumaro, orjson, poetry-core, - pythonOlder, yarl, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiostreammagic"; version = "2.12.1"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "noahhusby"; repo = "aiostreammagic"; - tag = version; + tag = finalAttrs.version; hash = "sha256-CctTyRaJ8lVIniVEc+SmGk+UxW8pcAzhqzrqj1WtIwY="; }; @@ -41,8 +38,8 @@ buildPythonPackage rec { meta = { description = "Module for interfacing with Cambridge Audio/Stream Magic compatible streamers"; homepage = "https://github.com/noahhusby/aiostreammagic"; - changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${version}"; + changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})