python313Packages.aiomisc: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-21 10:39:26 +01:00
parent 84ecbbc51d
commit f1a1441fc9
@@ -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 ];
};
}
})