python3Packages.llama-cloud-services: migrate to finalAttrs

This commit is contained in:
Sarah Clark
2026-03-04 11:36:25 -08:00
parent eca01a5231
commit a8acb510ef
@@ -13,7 +13,7 @@
python-dotenv,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "llama-cloud-services";
version = "0.6.94";
pyproject = true;
@@ -21,11 +21,11 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "run-llama";
repo = "llama_cloud_services";
tag = "llama-cloud-services-py%40${version}";
tag = "llama-cloud-services-py%40${finalAttrs.version}";
hash = "sha256-BjwXdv7ekehYGGnKk0ElVlxmGkmtam9RLECgxfM7lYc=";
};
sourceRoot = "${src.name}/py";
sourceRoot = "${finalAttrs.src.name}/py";
pythonRelaxDeps = [ "llama-cloud" ];
@@ -57,8 +57,8 @@ buildPythonPackage rec {
meta = {
description = "Knowledge Agents and Management in the Cloud";
homepage = "https://github.com/run-llama/llama_cloud_services";
changelog = "https://github.com/run-llama/llama_cloud_services/releases/tag/${src.tag}";
changelog = "https://github.com/run-llama/llama_cloud_services/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})