1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 llama-cloud-services,
6 poetry-core,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "llama-parse";
12 version = "0.6.4.post1";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 pname = "llama_parse";
19 inherit version;
20 hash = "sha256-hG2ZWfTgNPjZaB3R8APUL419wCjTlKsEhntZBGtDkNY=";
21 };
22
23 build-system = [ poetry-core ];
24
25 dependencies = [
26 llama-cloud-services
27 ];
28
29 pythonImportsCheck = [ "llama_parse" ];
30
31 meta = with lib; {
32 description = "Parse files into RAG-Optimized formats";
33 homepage = "https://pypi.org/project/llama-parse/";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}