Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 llama-cloud, 7 llama-index-core, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-index-indices-managed-llama-cloud"; 12 version = "0.9.4"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "llama_index_indices_managed_llama_cloud"; 17 inherit version; 18 hash = "sha256-teAHUqswVkq/GcV1laIQf1aXw7A7CFgXtPyoSjjrvVk="; 19 }; 20 21 pythonRelaxDeps = [ "llama-cloud" ]; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ 26 llama-cloud 27 llama-index-core 28 ]; 29 30 # Tests are only available in the mono repo 31 doCheck = false; 32 33 pythonImportsCheck = [ "llama_index.indices.managed.llama_cloud" ]; 34 35 meta = { 36 description = "LlamaCloud Index and Retriever"; 37 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/indices/llama-index-indices-managed-llama-cloud"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}