Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 poetry-core, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "llama-parse"; 12 version = "0.4.5"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 pname = "llama_parse"; 19 inherit version; 20 hash = "sha256-CKSLz0r1tiO/JvpiZgOFcrlUCfe+ZHRgZ9uNOPaSf+U="; 21 }; 22 23 build-system = [ poetry-core ]; 24 25 dependencies = [ llama-index-core ]; 26 27 pythonImportsCheck = [ "llama_parse" ]; 28 29 meta = with lib; { 30 description = "Parse files into RAG-Optimized formats"; 31 homepage = "https://pypi.org/project/llama-parse/"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}