1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, pytz
6, tomlkit
7}:
8
9buildPythonPackage rec {
10 pname = "neo4j";
11 version = "5.9.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "neo4j";
18 repo = "neo4j-python-driver";
19 rev = "refs/tags/${version}";
20 hash = "sha256-HyoIr2ZIOAzFlMrkIDV71JJAFwrxCqExMFXF3U2p9Po=";
21 };
22
23 propagatedBuildInputs = [
24 pytz
25 tomlkit
26 ];
27
28 # Missing dependencies
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "neo4j"
33 ];
34
35 meta = with lib; {
36 description = "Neo4j Bolt Driver for Python";
37 homepage = "https://github.com/neo4j/neo4j-python-driver";
38 changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${version}";
39 license = licenses.asl20;
40 maintainers = with maintainers; [ fab ];
41 };
42}