depot/third_party/nixpkgs/pkgs/development/python-modules/llama-parse/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

40 lines
708 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, llama-index-core
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "llama-parse";
version = "0.4.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_parse";
inherit version;
hash = "sha256-+gTAlzCxAhVfZQXenPkZmMhtM0WB8PEll8XrR8pduFk=";
};
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 ];
};
}