Files
nixpkgs/pkgs/development/python-modules/llama-index-graph-stores-neo4j/default.nix

42 lines
914 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
llama-index-core,
neo4j,
}:
buildPythonPackage rec {
pname = "llama-index-graph-stores-neo4j";
version = "0.5.1";
pyproject = true;
src = fetchPypi {
pname = "llama_index_graph_stores_neo4j";
inherit version;
hash = "sha256-P3EzR6piD49dFQY26LuV4/gZpOsFe5Hfp87BFiwo1Xg=";
};
pythonRelaxDeps = [ "neo4j" ];
build-system = [ hatchling ];
dependencies = [
neo4j
llama-index-core
];
# Tests are not shipped with PyPI package
doCheck = false;
pythonImportsCheck = [ "llama_index.graph_stores.neo4j" ];
meta = with lib; {
description = "LlamaIndex Graph Store Integration for Neo4j";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/graph_stores/llama-index-graph-stores-neo4j";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}