2021-12-21 02:18:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
2022-12-02 08:20:57 +00:00
|
|
|
, tomlkit
|
2021-12-21 02:18:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
pname = "neo4j";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "5.6.0";
|
2021-12-21 02:18:32 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neo4j";
|
|
|
|
repo = "neo4j-python-driver";
|
2022-09-11 15:47:08 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-OjGLV7xHyF8kB++juXTM40aUl4OK+xwhnFaLSyxHMo4=";
|
2021-12-21 02:18:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
2022-12-02 08:20:57 +00:00
|
|
|
tomlkit
|
2021-12-21 02:18:32 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Missing dependencies
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"neo4j"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Neo4j Bolt Driver for Python";
|
|
|
|
homepage = "https://github.com/neo4j/neo4j-python-driver";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${version}";
|
2021-12-21 02:18:32 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|