c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
30 lines
496 B
Nix
30 lines
496 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, llama-index-core
|
|
, llama-parse
|
|
, poetry-core
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-readers-llama-parse";
|
|
|
|
inherit (llama-index-core) version src meta;
|
|
|
|
pyproject = true;
|
|
|
|
sourceRoot = "${src.name}/llama-index-integrations/readers/${pname}";
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
llama-parse
|
|
llama-index-core
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"llama_index.readers.llama_parse"
|
|
];
|
|
}
|