From 63a1aa17d1e54bf074687bfb71efe2449fa5797d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 Mar 2026 19:28:23 +0100 Subject: [PATCH] python3Packages.asyncstdlib: migrate to finalAttrs --- .../development/python-modules/asyncstdlib/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/asyncstdlib/default.nix b/pkgs/development/python-modules/asyncstdlib/default.nix index e0846bd8dd35..c295a4e1592c 100644 --- a/pkgs/development/python-modules/asyncstdlib/default.nix +++ b/pkgs/development/python-modules/asyncstdlib/default.nix @@ -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 ]; }; -} +})