Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 llama-index-core,
7 neo4j,
8}:
9
10buildPythonPackage rec {
11 pname = "llama-index-graph-stores-neo4j";
12 version = "0.5.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "llama_index_graph_stores_neo4j";
17 inherit version;
18 hash = "sha256-P3EzR6piD49dFQY26LuV4/gZpOsFe5Hfp87BFiwo1Xg=";
19 };
20
21 pythonRelaxDeps = [ "neo4j" ];
22
23 build-system = [ hatchling ];
24
25 dependencies = [
26 neo4j
27 llama-index-core
28 ];
29
30 # Tests are not shipped with PyPI package
31 doCheck = false;
32
33 pythonImportsCheck = [ "llama_index.graph_stores.neo4j" ];
34
35 meta = {
36 description = "LlamaIndex Graph Store Integration for Neo4j";
37 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/graph_stores/llama-index-graph-stores-neo4j";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}