From 52204bbe46c404b6da7355c88c0cb30384d288f7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:00:17 -0800 Subject: [PATCH] python3Packages.caio: apply finalAttrs fix --- pkgs/development/python-modules/caio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/caio/default.nix b/pkgs/development/python-modules/caio/default.nix index 50d090ff5e16..31226780006d 100644 --- a/pkgs/development/python-modules/caio/default.nix +++ b/pkgs/development/python-modules/caio/default.nix @@ -10,7 +10,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "caio"; version = "0.9.22"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mosquito"; repo = "caio"; - tag = version; + tag = finalAttrs.version; hash = "sha256-O86SLZ+8bzPYtvLnmY5gLPYLWvNaktQwIEQckJR15LI="; }; @@ -39,8 +39,8 @@ buildPythonPackage rec { meta = { description = "File operations with asyncio support"; homepage = "https://github.com/mosquito/caio"; - changelog = "https://github.com/mosquito/caio/releases/tag/${version}"; + changelog = "https://github.com/mosquito/caio/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})