nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, pytz
6}:
7
8buildPythonPackage rec {
9 pname = "neo4j-driver";
10 version = "4.4.3";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchFromGitHub {
16 owner = "neo4j";
17 repo = "neo4j-python-driver";
18 rev = version;
19 sha256 = "sha256-YApj4EA0e3Q9V+ujnJC7/eSS0DybnZH22LnnSla/mw4=";
20 };
21
22 propagatedBuildInputs = [
23 pytz
24 ];
25
26 # Missing dependencies
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "neo4j"
31 ];
32
33 meta = with lib; {
34 description = "Neo4j Bolt Driver for Python";
35 homepage = "https://github.com/neo4j/neo4j-python-driver";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ fab ];
38 };
39}