depot/third_party/nixpkgs/pkgs/development/python-modules/neo4j-driver/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

39 lines
722 B
Nix

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