depot/third_party/nixpkgs/pkgs/development/python-modules/neo4j/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

42 lines
838 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytz
, tomlkit
}:
buildPythonPackage rec {
pname = "neo4j";
version = "5.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "neo4j";
repo = "neo4j-python-driver";
rev = "refs/tags/${version}";
hash = "sha256-kcZtfK4OogHvnZT789LfF7yi9jSWSCXPp0QC2RWAe+I=";
};
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 ];
};
}