1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 google-generativeai,
6 llama-index-core,
7 hatchling,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "llama-index-vector-stores-google";
13 version = "0.4.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "llama_index_vector_stores_google";
20 inherit version;
21 hash = "sha256-+7Lx//NNjYe0UWWOmLTxajKrfjG9OReVpPgOoO2fczk=";
22 };
23
24 pythonRelaxDeps = [ "google-generativeai" ];
25
26 build-system = [
27 hatchling
28 ];
29
30 dependencies = [
31 google-generativeai
32 llama-index-core
33 ];
34
35 pythonImportsCheck = [ "llama_index.vector_stores.google" ];
36
37 meta = with lib; {
38 description = "LlamaIndex Vector Store Integration for Google";
39 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-google";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}