diff --git a/pkgs/development/python-modules/mill-local/default.nix b/pkgs/development/python-modules/mill-local/default.nix index 8654f5ff62a4..f4c56a518b88 100644 --- a/pkgs/development/python-modules/mill-local/default.nix +++ b/pkgs/development/python-modules/mill-local/default.nix @@ -7,7 +7,7 @@ setuptools_80, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mill-local"; version = "0.7.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pyMillLocal"; - tag = version; + tag = finalAttrs.version; hash = "sha256-KlytsnjzeWJGF2k+vBhj75AMNxTfCiboF/xV7ROzSRs="; }; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Python module to communicate locally with Mill heaters"; homepage = "https://github.com/Danielhiversen/pyMillLocal"; - changelog = "https://github.com/Danielhiversen/pyMillLocal/releases/tag/${src.tag}"; + changelog = "https://github.com/Danielhiversen/pyMillLocal/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})