From bd90f47a4fa93b27d8f3226b4e11fe9dce237c89 Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Thu, 11 Jun 2026 15:28:20 +0200 Subject: [PATCH] python3Packages.lime: use finalAttrs --- pkgs/development/python-modules/lime/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/lime/default.nix b/pkgs/development/python-modules/lime/default.nix index 62415293eec0..1983b51dc2a4 100644 --- a/pkgs/development/python-modules/lime/default.nix +++ b/pkgs/development/python-modules/lime/default.nix @@ -13,13 +13,13 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "lime"; version = "0.2.0.1"; format = "setuptools"; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-dpYOTwVf61Pom1AiODuvyHtj8lusYmWYSwozPRpX94E="; }; @@ -55,8 +55,8 @@ buildPythonPackage rec { meta = { description = "Local Interpretable Model-Agnostic Explanations for machine learning classifiers"; homepage = "https://github.com/marcotcr/lime"; - changelog = "https://github.com/marcotcr/lime/releases/tag/${version}"; + changelog = "https://github.com/marcotcr/lime/releases/tag/${finalAttrs.version}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ khaser ]; }; -} +})