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