From 216e76c8541ed31fb9689f039e4067d4449d4f3c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Feb 2026 02:38:13 +0100 Subject: [PATCH] python313Packages.pubnub: migrate to finalAttrs --- pkgs/development/python-modules/pubnub/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index 7d6b9db60c05..ece240191314 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -15,7 +15,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pubnub"; version = "10.6.0"; pyproject = true; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pubnub"; repo = "python"; - tag = version; + tag = finalAttrs.version; hash = "sha256-LInaKPvdRdVI71UpVZRKjRPvqGiQ4qzRC1uTTzFmHmA="; }; @@ -66,10 +66,10 @@ buildPythonPackage rec { meta = { description = "Python-based APIs for PubNub"; homepage = "https://github.com/pubnub/python"; - changelog = "https://github.com/pubnub/python/releases/tag/${src.tag}"; + changelog = "https://github.com/pubnub/python/releases/tag/${finalAttrs.src.tag}"; # PubNub Software Development Kit License Agreement # https://github.com/pubnub/python/blob/master/LICENSE license = lib.licenses.unfreeRedistributable; maintainers = with lib.maintainers; [ fab ]; }; -} +})