1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 hatchling, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-index-readers-json"; 12 version = "0.4.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 pname = "llama_index_readers_json"; 19 inherit version; 20 hash = "sha256-bV/NsbEkWctLlOwo9r+W7sTzO38VPw2eB21VbXH1sek="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ llama-index-core ]; 26 27 # Tests are only available in the mono repo 28 doCheck = false; 29 30 pythonImportsCheck = [ "llama_index.readers.json" ]; 31 32 meta = with lib; { 33 description = "LlamaIndex Readers Integration for Json"; 34 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-json"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}