diff --git a/pkgs/development/python-modules/velbus-aio/default.nix b/pkgs/development/python-modules/velbus-aio/default.nix index 302fb992f812..5a02f5f4924e 100644 --- a/pkgs/development/python-modules/velbus-aio/default.nix +++ b/pkgs/development/python-modules/velbus-aio/default.nix @@ -14,7 +14,7 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "velbus-aio"; version = "2026.2.0"; pyproject = true; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Cereal2nd"; repo = "velbus-aio"; - tag = version; + tag = finalAttrs.version; hash = "sha256-lQl5f7O6ZMfYGleyOESSbW87RPS7eBi3YZqCAcQfLow="; fetchSubmodules = true; }; @@ -49,8 +49,8 @@ buildPythonPackage rec { meta = { description = "Python library to support the Velbus home automation system"; homepage = "https://github.com/Cereal2nd/velbus-aio"; - changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${src.tag}"; + changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})