Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / neo4j / default.nix
blob1e034efa197127db966fe9ceb66a9b797610e744
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytz
6 , tomlkit
7 }:
9 buildPythonPackage rec {
10   pname = "neo4j";
11   version = "5.14.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "neo4j";
18     repo = "neo4j-python-driver";
19     rev = "refs/tags/${version}";
20     hash = "sha256-lQNsVpkMRn23qzqAa/K6aPrip67TsL+nXpMRqOXNFik=";
21   };
23   propagatedBuildInputs = [
24     pytz
25     tomlkit
26   ];
28   # Missing dependencies
29   doCheck = false;
31   pythonImportsCheck = [
32     "neo4j"
33   ];
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   };