1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 poetry-core, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-index-legacy"; 12 version = "0.9.48.post4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 pname = "llama_index_legacy"; 19 inherit version; 20 hash = "sha256-+Kl2Tn4TSlK/715T0tYlYb/AH8CYdMUcwAHfb1MCrjA="; 21 }; 22 23 pythonRelaxDeps = [ "tenacity" ]; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ llama-index-core ]; 28 29 # Tests are only available in the mono repo 30 doCheck = false; 31 32 meta = with lib; { 33 description = "LlamaIndex Readers Integration for files"; 34 homepage = "https://github.com/run-llama/llama_index/tree/v0.9.48"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}