diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2026-01-18 01:37:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-18 01:37:36 +0100 |
| commit | 0d321ec153a6a66b4966bffccd3fdabfa2c036f3 (patch) | |
| tree | 2d2309744593659a46eacfc1ccb1f42ca6e9bce5 | |
| parent | 92538e77a0f7d9c89f2fcc2a6f4543c228d4badc (diff) | |
python313Packages.aiolifx-themes: migrate to finalAttrs
| -rw-r--r-- | pkgs/development/python-modules/aiolifx-themes/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index 43e359ece3b1..517e10840aba 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -11,7 +11,7 @@ pythonOlder, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiolifx-themes"; version = "1.0.3"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Djelibeybi"; repo = "aiolifx-themes"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Y92ze+zrkz+fxQNFFSR5V9sPJMN0/dfIRwT6UhXo0+U="; }; @@ -41,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Color themes for LIFX lights running on aiolifx"; homepage = "https://github.com/Djelibeybi/aiolifx-themes"; - changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/${src.tag}"; + changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lukegb ]; }; -} +}) |
