Files
nixpkgs/pkgs/development/python-modules/llama-parse/default.nix
T
Sarah Clark ff9e8ac751 python3Packages.llama-parse: relax dependency on llama-cloud-services
This misreads llama-cloud-service's dependency incorrectly in the dependency check.
2026-03-04 11:40:59 -08:00

36 lines
741 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
llama-cloud-services,
hatchling,
}:
buildPythonPackage rec {
pname = "llama-parse";
version = "0.6.90";
pyproject = true;
src = fetchPypi {
pname = "llama_parse";
inherit version;
hash = "sha256-7OqBGrj6lKe4Y90NNYQRPGMFRRM2i64ix6LYtnzPOu0=";
};
build-system = [ hatchling ];
dependencies = [ llama-cloud-services ];
# llama-cloud-services fails to read
pythonRelaxDeps = [ "llama-cloud-services" ];
pythonImportsCheck = [ "llama_parse" ];
meta = {
description = "Parse files into RAG-Optimized formats";
homepage = "https://pypi.org/project/llama-parse/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}