ff9e8ac751
This misreads llama-cloud-service's dependency incorrectly in the dependency check.
36 lines
741 B
Nix
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 ];
|
|
};
|
|
}
|