python3Packages.asyncstdlib: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-18 10:58:34 +01:00
parent 3b8b88c94b
commit 63a1aa17d1
@@ -8,7 +8,7 @@
typing-extensions,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "asyncstdlib";
version = "3.13.3";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "maxfischer2781";
repo = "asyncstdlib";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-3mM97zB/pEw8/kPO6jUL7dz6Q7kVatfsURy+5zSq9Bs=";
};
@@ -35,8 +35,8 @@ buildPythonPackage rec {
meta = {
description = "Python library that extends the Python asyncio standard library";
homepage = "https://asyncstdlib.readthedocs.io/";
changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/${src.tag}";
license = with lib.licenses; [ mit ];
changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})