From 9e263f465f74939821a05709cd6afe0dbec93752 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jan 2026 08:04:32 +0100 Subject: [PATCH] python313Packages.llama-stack-client: migrate to finalAttrs --- .../python-modules/llama-stack-client/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/llama-stack-client/default.nix b/pkgs/development/python-modules/llama-stack-client/default.nix index 263fb497c6b9..47dc336148e8 100644 --- a/pkgs/development/python-modules/llama-stack-client/default.nix +++ b/pkgs/development/python-modules/llama-stack-client/default.nix @@ -30,14 +30,14 @@ typing-extensions, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "llama-stack-client"; version = "0.4.1"; pyproject = true; src = fetchPypi { pname = "llama_stack_client"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-MFd9PJTtvjiOZ0Q8t69MX3ayZ+kq7RJ9NtHZaNRRCuw="; }; @@ -85,7 +85,7 @@ buildPythonPackage rec { pytestCheckHook respx ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); pythonImportsCheck = [ "llama_stack_client" ]; @@ -102,8 +102,8 @@ buildPythonPackage rec { meta = { description = "Library for the llama-stack-client API"; homepage = "https://github.com/llamastack/llama-stack-client-python"; - changelog = "https://github.com/llamastack/llama-stack-client-python/releases/tag/v${version}"; + changelog = "https://github.com/llamastack/llama-stack-client-python/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})