python313Packages.aiomisc: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user