python312Packages.llama-index-readers-file: foramt with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-09 09:43:42 +02:00
parent 0ea4975602
commit ef53fd45c6

View File

@ -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";