mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 05:14:45 +00:00
python312Packages.llama-index-readers-file: foramt with nixfmt
This commit is contained in:
parent
0ea4975602
commit
ef53fd45c6
@ -1,14 +1,15 @@
|
|||||||
{ lib
|
{
|
||||||
, beautifulsoup4
|
lib,
|
||||||
, buildPythonPackage
|
beautifulsoup4,
|
||||||
, fetchPypi
|
buildPythonPackage,
|
||||||
, llama-index-core
|
fetchPypi,
|
||||||
, poetry-core
|
llama-index-core,
|
||||||
, pymupdf
|
poetry-core,
|
||||||
, pypdf
|
pymupdf,
|
||||||
, pythonOlder
|
pypdf,
|
||||||
, pythonRelaxDepsHook
|
pythonOlder,
|
||||||
, striprtf
|
pythonRelaxDepsHook,
|
||||||
|
striprtf,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -29,13 +30,9 @@ buildPythonPackage rec {
|
|||||||
"pypdf"
|
"pypdf"
|
||||||
];
|
];
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
@ -48,9 +45,7 @@ buildPythonPackage rec {
|
|||||||
# Tests are only available in the mono repo
|
# Tests are only available in the mono repo
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "llama_index.readers.file" ];
|
||||||
"llama_index.readers.file"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "LlamaIndex Readers Integration for files";
|
description = "LlamaIndex Readers Integration for files";
|
||||||
|
Loading…
Reference in New Issue
Block a user