From e71f61f001e944b7d72cda59016f72bd2b05674e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 27 May 2026 23:23:53 +0200 Subject: [PATCH] python3Packages.aioemonitor: use finalAttrs --- pkgs/development/python-modules/aioemonitor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aioemonitor/default.nix b/pkgs/development/python-modules/aioemonitor/default.nix index 068ee031381c..4ff606078d4b 100644 --- a/pkgs/development/python-modules/aioemonitor/default.nix +++ b/pkgs/development/python-modules/aioemonitor/default.nix @@ -11,7 +11,7 @@ xmltodict, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aioemonitor"; version = "1.0.5"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "bdraco"; repo = "aioemonitor"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "0h8zqqy8v8r1fl9bp3m8icr2sy44p0mbfl1hbb0zni17r9r50dhn"; }; @@ -50,4 +50,4 @@ buildPythonPackage rec { license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})