diff --git a/pkgs/development/python-modules/avea/default.nix b/pkgs/development/python-modules/avea/default.nix index c8524f498a4f..5e0b8d9694d7 100644 --- a/pkgs/development/python-modules/avea/default.nix +++ b/pkgs/development/python-modules/avea/default.nix @@ -7,7 +7,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "avea"; version = "1.7.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "k0rventen"; repo = "avea"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cBYS8Q70K5MXZ63uI6OGkUsskJ7rkgTBPjlAsxmtmVA="; }; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Python module for interacting with Elgato's Avea bulb"; homepage = "https://github.com/k0rventen/avea"; - changelog = "https://github.com/k0rventen/avea/releases/tag/${src.tag}"; + changelog = "https://github.com/k0rventen/avea/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})