From e532a9273cc2c58c9097b507fc699c001d76bb7c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 19 Dec 2021 14:35:37 +0100 Subject: [PATCH] python3Packages.neo4j-driver: init at 4.4.1 --- .../python-modules/neo4j-driver/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/neo4j-driver/default.nix diff --git a/pkgs/development/python-modules/neo4j-driver/default.nix b/pkgs/development/python-modules/neo4j-driver/default.nix new file mode 100644 index 000000000000..6b81af0c2940 --- /dev/null +++ b/pkgs/development/python-modules/neo4j-driver/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, pytz +}: + +buildPythonPackage rec { + pname = "neo4j-driver"; + version = "4.4.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "neo4j"; + repo = "neo4j-python-driver"; + rev = version; + sha256 = "sha256-aGOqD6mmd3dulQ/SdaDPDZhkCwXdYCucHw+CrkJf1M0="; + }; + + propagatedBuildInputs = [ + pytz + ]; + + # Missing dependencies + doCheck = false; + + pythonImportsCheck = [ + "neo4j" + ]; + + meta = with lib; { + description = "Neo4j Bolt Driver for Python"; + homepage = "https://github.com/neo4j/neo4j-python-driver"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 41656c24a549..40cbd0126246 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5186,6 +5186,8 @@ in { neo = callPackage ../development/python-modules/neo { }; + neo4j-driver = callPackage ../development/python-modules/neo4j-driver { }; + nessclient = callPackage ../development/python-modules/nessclient { }; nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };