python313Packages.pubnub: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-02 02:38:13 +01:00
parent f0920b78b7
commit 216e76c854
@@ -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 ];
};
}
})