python312Packages.llama-index-embeddings-google: format with nixfmt
This commit is contained in:
parent
ff95a00baa
commit
4af12b60c4
|
@ -1,11 +1,12 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchPypi
|
buildPythonPackage,
|
||||||
, google-generativeai
|
fetchPypi,
|
||||||
, llama-index-core
|
google-generativeai,
|
||||||
, poetry-core
|
llama-index-core,
|
||||||
, pythonOlder
|
poetry-core,
|
||||||
, pythonRelaxDepsHook
|
pythonOlder,
|
||||||
|
pythonRelaxDepsHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -21,17 +22,11 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-mJ+H4klmGlpTGXLErlLNWH5IUpGyXnbAhNsgT5fwCHs=";
|
hash = "sha256-mJ+H4klmGlpTGXLErlLNWH5IUpGyXnbAhNsgT5fwCHs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [ "google-generativeai" ];
|
||||||
"google-generativeai"
|
|
||||||
];
|
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
google-generativeai
|
google-generativeai
|
||||||
|
@ -41,9 +36,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.embeddings.google" ];
|
||||||
"llama_index.embeddings.google"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "LlamaIndex Embeddings Integration for Google";
|
description = "LlamaIndex Embeddings Integration for Google";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user