Files
nixpkgs/pkgs/development/python-modules/llama-cloud/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
688 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
httpx,
poetry-core,
pydantic,
}:
buildPythonPackage rec {
pname = "llama-cloud";
version = "0.1.45";
pyproject = true;
src = fetchPypi {
pname = "llama_cloud";
inherit version;
hash = "sha256-FAJEAIzFcQ4xrpfGBDlzo6mWmlGw84FV+jOoQ0B46Ko=";
};
build-system = [ poetry-core ];
dependencies = [
httpx
pydantic
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "llama_cloud" ];
meta = {
description = "LlamaIndex Python Client";
homepage = "https://pypi.org/project/llama-cloud/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}