python3Packages.llama-index-embeddings-google-genai: init at 0.5.0

This commit is contained in:
GraysonTinker
2026-03-26 14:54:55 -07:00
parent 6ca6ecb6aa
commit 79bcd14b8b
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
llama-index-core,
google-genai,
}:
buildPythonPackage (finalAttrs: {
pname = "llama-index-embeddings-google-genai";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
pname = "llama_index_embeddings_google_genai";
inherit (finalAttrs) version;
hash = "sha256-BR18oKleO8HQ8y9cwWfMoRnOQrxKUWyBF5NMWJyTsZ8=";
};
build-system = [ hatchling ];
dependencies = [
llama-index-core
google-genai
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [ "llama_index.embeddings.google_genai" ];
meta = {
description = "LlamaIndex Embeddings Integration for Google GenAI";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-google-genai";
license = lib.licenses.mit;
maintainers = [ ];
};
})
+4
View File
@@ -9013,6 +9013,10 @@ self: super: with self; {
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-embeddings-google-genai =
callPackage ../development/python-modules/llama-index-embeddings-google-genai
{ };
llama-index-embeddings-huggingface =
callPackage ../development/python-modules/llama-index-embeddings-huggingface
{ };