depot/third_party/nixpkgs/pkgs/development/python-modules/neo4j/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

39 lines
713 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "neo4j";
version = "4.4.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "neo4j";
repo = "neo4j-python-driver";
rev = version;
hash = "sha256-BtftIpVKnIAwgLgdZUwHiVsKOpgy2bSb+9fC3ycpM4Y=";
};
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 ];
};
}