mir,mir_2_15: Fix builds, modernise & fix VM tests (#374873)
[NixPkgs.git] / pkgs / development / python-modules / llama-index-vector-stores-google / default.nix
blobca7b63b1c0789d49b5b0b70810c745d8b28fa24c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-generativeai,
6   llama-index-core,
7   poetry-core,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "llama-index-vector-stores-google";
13   version = "0.3.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     pname = "llama_index_vector_stores_google";
20     inherit version;
21     hash = "sha256-6l4MFO7h5xJexN3Sf78F+OgzaKHNWxOffQvkqRhXEJw=";
22   };
24   pythonRelaxDeps = [ "google-generativeai" ];
26   build-system = [
27     poetry-core
28   ];
30   dependencies = [
31     google-generativeai
32     llama-index-core
33   ];
35   pythonImportsCheck = [ "llama_index.vector_stores.google" ];
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   };