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