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 ]; }; -} +})