From 4b8c09e8048936e1dccc73f8621449b3003e7077 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 21 May 2026 16:07:09 +0200 Subject: [PATCH] python3Packages.aiorwlock: migrate to finalAttrs --- pkgs/development/python-modules/aiorwlock/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiorwlock/default.nix b/pkgs/development/python-modules/aiorwlock/default.nix index 0384a9dbce97..54866824db95 100644 --- a/pkgs/development/python-modules/aiorwlock/default.nix +++ b/pkgs/development/python-modules/aiorwlock/default.nix @@ -7,7 +7,7 @@ poetry-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiorwlock"; version = "1.5.1"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "aio-libs"; repo = "aiorwlock"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-+favszX1mVuuLWqKCIk+i5frX+y2kOArAUVIAJG1otY="; }; @@ -31,8 +31,8 @@ buildPythonPackage rec { meta = { description = "Read write lock for asyncio"; homepage = "https://github.com/aio-libs/aiorwlock"; - changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${version}"; + changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ billhuang ]; }; -} +})