Merge pull request #298708 from fabaff/llama-index-embeddings-gemini-bump

python312Packages.llama-index-embeddings-gemini: 0.1.3 -> 0.1.5
This commit is contained in:
Fabian Affolter 2024-03-25 23:17:14 +01:00 committed by GitHub
commit 31944cd8b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,36 +1,52 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchPypi
, google-generativeai , google-generativeai
, llama-index-core , llama-index-core
, poetry-core , poetry-core
, pytestCheckHook , pytestCheckHook
, pythonRelaxDepsHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-embeddings-gemini"; pname = "llama-index-embeddings-gemini";
version = "0.1.3"; version = "0.1.5";
inherit (llama-index-core) src meta;
pyproject = true; pyproject = true;
sourceRoot = "${src.name}/llama-index-integrations/embeddings/${pname}"; disabled = pythonOlder "3.9";
nativeBuildInputs = [ src = fetchPypi {
poetry-core pname = "llama_index_embeddings_gemini";
inherit version;
hash = "sha256-FQzZ+MjuAApOImpxQhuaCFDIKdojzD5zqDOepo8fCNo=";
};
pythonRelaxDeps = [
"google-generativeai"
]; ];
propagatedBuildInputs = [ build-system = [
poetry-core
pythonRelaxDepsHook
];
dependencies = [
google-generativeai google-generativeai
llama-index-core llama-index-core
]; ];
nativeCheckInputs = [ # Tests are only available in the mono repo
pytestCheckHook doCheck = false;
];
pythonImportsCheck = [ pythonImportsCheck = [
"llama_index.embeddings.gemini" "llama_index.embeddings.gemini"
]; ];
meta = with lib; {
description = "LlamaIndex Llms Integration for Gemini";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-gemini";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
} }