From c376c7ec0960d88d4cdf654ef9f3cba320c6e5d5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 14 Jan 2026 16:35:07 +0100 Subject: [PATCH] python313Packages.pyportainer: migrate to finalAttrs --- pkgs/development/python-modules/pyportainer/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyportainer/default.nix b/pkgs/development/python-modules/pyportainer/default.nix index 1464fe8c9da3..d2ef003fab1f 100644 --- a/pkgs/development/python-modules/pyportainer/default.nix +++ b/pkgs/development/python-modules/pyportainer/default.nix @@ -13,7 +13,7 @@ yarl, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyportainer"; version = "1.0.23"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "erwindouna"; repo = "pyportainer"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-bPVAqL25kJ5EsnM7bUA+sqn0Q5uTOuFuKzneviK6078="; }; @@ -44,10 +44,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/erwindouna/pyportainer/releases/tag/${src.tag}"; + changelog = "https://github.com/erwindouna/pyportainer/releases/tag/${finalAttrs.src.tag}"; description = "Asynchronous Python client for the Portainer API"; homepage = "https://github.com/erwindouna/pyportainer"; license = lib.licenses.mit; maintainers = [ lib.maintainers.dotlambda ]; }; -} +})