mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
deepdiff,
|
|
eval-type-backport,
|
|
fetchFromGitHub,
|
|
llama-cloud,
|
|
llama-index-core,
|
|
platformdirs,
|
|
poetry-core,
|
|
pydantic,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
python-dotenv,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-cloud-services";
|
|
version = "0.6.28";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "run-llama";
|
|
repo = "llama_cloud_services";
|
|
tag = "v${version}";
|
|
hash = "sha256-2ANsXUOTTWhIS6/BPvlOox4KJcQI0lngPMAf3Hous7s=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "llama-cloud" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
click
|
|
eval-type-backport
|
|
llama-cloud
|
|
llama-index-core
|
|
platformdirs
|
|
pydantic
|
|
python-dotenv
|
|
];
|
|
|
|
# Missing dependency autoevals
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "llama_cloud_services" ];
|
|
|
|
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}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|