44 lines
957 B
Nix
44 lines
957 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
google-generativeai,
|
|
llama-index-core,
|
|
hatchling,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-vector-stores-google";
|
|
version = "0.4.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "llama_index_vector_stores_google";
|
|
inherit version;
|
|
hash = "sha256-+7Lx//NNjYe0UWWOmLTxajKrfjG9OReVpPgOoO2fczk=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "google-generativeai" ];
|
|
|
|
build-system = [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = [
|
|
google-generativeai
|
|
llama-index-core
|
|
];
|
|
|
|
pythonImportsCheck = [ "llama_index.vector_stores.google" ];
|
|
|
|
meta = with lib; {
|
|
description = "LlamaIndex Vector Store Integration for Google";
|
|
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-google";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|