diff --git a/pkgs/development/python-modules/aiostreammagic/default.nix b/pkgs/development/python-modules/aiostreammagic/default.nix index 49e1a6b5884d..f9d59777dd71 100644 --- a/pkgs/development/python-modules/aiostreammagic/default.nix +++ b/pkgs/development/python-modules/aiostreammagic/default.nix @@ -6,22 +6,19 @@ mashumaro, orjson, poetry-core, - pythonOlder, yarl, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiostreammagic"; - version = "2.11.0"; + version = "2.12.1"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "noahhusby"; repo = "aiostreammagic"; - tag = version; - hash = "sha256-8ahLB5F2JKpA4F21WWDFzrDxoOpIq+d1iXuCjQngGtc="; + tag = finalAttrs.version; + hash = "sha256-CctTyRaJ8lVIniVEc+SmGk+UxW8pcAzhqzrqj1WtIwY="; }; build-system = [ poetry-core ]; @@ -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 ]; }; -} +})