python311Packages.llama-index-cli: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-18 09:02:31 +02:00
parent eb8da8bcc1
commit 8f86496f70

View File

@ -1,12 +1,13 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, llama-index-core fetchPypi,
, llama-index-embeddings-openai llama-index-core,
, llama-index-llms-openai llama-index-embeddings-openai,
, llama-index-vector-stores-chroma llama-index-llms-openai,
, poetry-core llama-index-vector-stores-chroma,
, pythonOlder poetry-core,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,9 +23,7 @@ buildPythonPackage rec {
hash = "sha256-PPH3BsPGnGsaqwf8p/qtOVnbFwmAjv1QSRtmnTiwtYA="; hash = "sha256-PPH3BsPGnGsaqwf8p/qtOVnbFwmAjv1QSRtmnTiwtYA=";
}; };
build-system = [ build-system = [ poetry-core ];
poetry-core
];
dependencies = [ dependencies = [
llama-index-core llama-index-core
@ -36,9 +35,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.cli" ];
"llama_index.cli"
];
meta = with lib; { meta = with lib; {
description = "LlamaIndex CLI"; description = "LlamaIndex CLI";
@ -46,5 +43,4 @@ buildPythonPackage rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }