python311Packages.llama-index-readers-file: decouple from llama-index-core

This commit is contained in:
Fabian Affolter
2024-03-05 23:48:12 +01:00
parent 5706443baf
commit ec4f9669f7
@@ -6,13 +6,15 @@
, poetry-core
, pymupdf
, pypdf
, pytestCheckHook
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "llama-index-readers-file";
version = "0.1.7";
inherit (llama-index-core) version src meta;
inherit (llama-index-core) src meta;
pyproject = true;
@@ -40,6 +42,10 @@ buildPythonPackage rec {
pypdf
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"llama_index.readers.file"
];