depot/third_party/nixpkgs/pkgs/development/python-modules/neo4j/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

42 lines
839 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytz
, tomlkit
}:
buildPythonPackage rec {
pname = "neo4j";
version = "5.11.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "neo4j";
repo = "neo4j-python-driver";
rev = "refs/tags/${version}";
hash = "sha256-xPMO1Db1+TwOT+JsBGJcTc7BL2B8Eb1K3kqKMGnsUmE=";
};
propagatedBuildInputs = [
pytz
tomlkit
];
# Missing dependencies
doCheck = false;
pythonImportsCheck = [
"neo4j"
];
meta = with lib; {
description = "Neo4j Bolt Driver for Python";
homepage = "https://github.com/neo4j/neo4j-python-driver";
changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}