mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
40 lines
728 B
Nix
40 lines
728 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "neo4j";
|
|
version = "5.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neo4j";
|
|
repo = "neo4j-python-driver";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-R4+cShkG1c3PRiU92OPPEVsXR4zt0G/7ZJcYACtPvHs=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|