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