42 lines
916 B
Nix
42 lines
916 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
llama-index-core,
|
|
qdrant-client,
|
|
poetry-core,
|
|
grpcio,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-vector-stores-qdrant";
|
|
version = "0.2.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "llama_index_vector_stores_qdrant";
|
|
inherit version;
|
|
hash = "sha256-begHJBxdu+19LIoNgAd3Gnei2TQqpEU3gd6cVrv0zGw=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
grpcio
|
|
llama-index-core
|
|
qdrant-client
|
|
];
|
|
|
|
pythonImportsCheck = [ "llama_index.vector_stores.qdrant" ];
|
|
|
|
meta = with lib; {
|
|
description = "LlamaIndex Vector Store Integration for Qdrant";
|
|
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|