From 6d3f2f36a1870cbd27f4203d2ee015eec6da522d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 21 Mar 2026 23:54:47 +0100 Subject: [PATCH] python3Packages.qtile-extras: use finalAttrs --- pkgs/development/python-modules/qtile-extras/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/qtile-extras/default.nix b/pkgs/development/python-modules/qtile-extras/default.nix index 0a81a4ba04f6..41646062a4c6 100644 --- a/pkgs/development/python-modules/qtile-extras/default.nix +++ b/pkgs/development/python-modules/qtile-extras/default.nix @@ -21,7 +21,7 @@ xorg-server, nixosTests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "qtile-extras"; version = "0.35.0"; # nixpkgs-update: no auto update @@ -31,7 +31,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "elParaguayo"; repo = "qtile-extras"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-xZ1pxe1EUnnjqz+46R4R9DWKi7M2j1pgvY4uy1dBak8="; }; @@ -97,8 +97,8 @@ buildPythonPackage rec { meta = { description = "Extra modules and widgets for the Qtile tiling window manager"; homepage = "https://github.com/elParaguayo/qtile-extras"; - changelog = "https://github.com/elParaguayo/qtile-extras/blob/${src.tag}/CHANGELOG"; + changelog = "https://github.com/elParaguayo/qtile-extras/blob/${finalAttrs.src.tag}/CHANGELOG"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ arjan-s ]; }; -} +})