From 6447d9194ca03334ec34c9bc02522f8328946f55 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 29 May 2026 23:49:08 +0200 Subject: [PATCH] python3Packages.aiolookin: use finalAttrs --- pkgs/development/python-modules/aiolookin/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aiolookin/default.nix b/pkgs/development/python-modules/aiolookin/default.nix index af73080aab20..362c3c016b96 100644 --- a/pkgs/development/python-modules/aiolookin/default.nix +++ b/pkgs/development/python-modules/aiolookin/default.nix @@ -10,7 +10,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiolookin"; version = "1.0.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ANMalko"; repo = "aiolookin"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI="; }; @@ -40,8 +40,8 @@ buildPythonPackage rec { meta = { description = "Python client for interacting with LOOKin devices"; homepage = "https://github.com/ANMalko/aiolookin"; - changelog = "https://github.com/ANMalko/aiolookin/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/ANMalko/aiolookin/blob/v${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})