From f1a1441fc93293755aeff8488767ec4d12055a0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Jan 2026 10:39:26 +0100 Subject: [PATCH] python313Packages.aiomisc: migrate to finalAttrs --- pkgs/development/python-modules/aiomisc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiomisc/default.nix b/pkgs/development/python-modules/aiomisc/default.nix index 8cb0f13580a7..93afe50e7fcd 100644 --- a/pkgs/development/python-modules/aiomisc/default.nix +++ b/pkgs/development/python-modules/aiomisc/default.nix @@ -19,13 +19,13 @@ uvloop, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiomisc"; version = "17.10.3"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-24ka982Wx4Bk2TlWuw6pvfRLh47l8QJvHD+sc+LOxVY="; }; @@ -46,7 +46,7 @@ buildPythonPackage rec { pytestCheckHook setproctitle ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); optional-dependencies = { aiohttp = [ aiohttp ]; @@ -79,4 +79,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})