From 7eab10d4130c2fbe91a8fcbf25c2969aee07aae3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 26 Jan 2026 13:05:43 +0100 Subject: [PATCH] python313Packages.asyncio-dgram: migrate to finalAttrs --- pkgs/development/python-modules/asyncio-dgram/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/asyncio-dgram/default.nix b/pkgs/development/python-modules/asyncio-dgram/default.nix index f65912291e09..eb0ae2f6528d 100644 --- a/pkgs/development/python-modules/asyncio-dgram/default.nix +++ b/pkgs/development/python-modules/asyncio-dgram/default.nix @@ -8,7 +8,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "asyncio-dgram"; version = "3.0.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jsbronder"; repo = "asyncio-dgram"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-08XQHx+ArduVdkK5ZYq2lL2OWF9CvdSWcNLfc7ey2wI="; }; @@ -41,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Python support for higher level Datagram"; homepage = "https://github.com/jsbronder/asyncio-dgram"; - changelog = "https://github.com/jsbronder/asyncio-dgram/blob/v${version}/ChangeLog"; + changelog = "https://github.com/jsbronder/asyncio-dgram/blob/v${finalAttrs.src.tag}/ChangeLog"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})