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