567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
40 lines
879 B
Nix
40 lines
879 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
chromadb,
|
|
fetchPypi,
|
|
hatchling,
|
|
llama-index-core,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-vector-stores-chroma";
|
|
version = "0.5.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "llama_index_vector_stores_chroma";
|
|
inherit version;
|
|
hash = "sha256-oGa57j3FEQoOE7nf6x9K4LSJMcBGRMp/U0ppBDwpFJo=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
chromadb
|
|
llama-index-core
|
|
];
|
|
|
|
pythonImportsCheck = [ "llama_index.vector_stores.chroma" ];
|
|
|
|
meta = {
|
|
description = "LlamaIndex Vector Store Integration for Chroma";
|
|
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-chroma";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|