depot/third_party/nixpkgs/pkgs/development/python-modules/llama-parse/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

35 lines
698 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
llama-index-core,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "llama-parse";
version = "0.5.7";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_parse";
inherit version;
hash = "sha256-sqKdvOMrmTQvuULRwhCr7w7qV99vJmZimQOe96kx/v8=";
};
build-system = [ poetry-core ];
dependencies = [ llama-index-core ];
pythonImportsCheck = [ "llama_parse" ];
meta = with lib; {
description = "Parse files into RAG-Optimized formats";
homepage = "https://pypi.org/project/llama-parse/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}