nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 936 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 llama-parse, 7 hatchling, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-index-readers-llama-parse"; 12 version = "0.5.1"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "llama_index_readers_llama_parse"; 17 inherit version; 18 hash = "sha256-K3i3P6qTPjDmxp3zUeTp823+KuFC4qs5ad3SrEiTDjc="; 19 }; 20 21 pythonRelaxDeps = [ "llama-parse" ]; 22 23 build-system = [ hatchling ]; 24 25 propagatedBuildInputs = [ 26 llama-parse 27 llama-index-core 28 ]; 29 30 # Tests are only available in the mono repo 31 doCheck = false; 32 33 pythonImportsCheck = [ "llama_index.readers.llama_parse" ]; 34 35 meta = { 36 description = "LlamaIndex Readers Integration for files"; 37 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-llama-parse"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}