python313Packages.pubnub: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user