nixpkgs/pkgs/development/python-modules/nebula3-python/default.nix
Martin Weinelt 0747f79f16 python3Packages.nebula3-python: 3.8.3 -> 5.2.0
https://github.com/vesoft-inc/nebula-python/blob/5.2.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:37 +01:00

62 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
future,
httplib2,
httpx,
pdm-backend,
pytestCheckHook,
pytz,
six,
}:
buildPythonPackage rec {
pname = "nebula3-python";
version = "5.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "vesoft-inc";
repo = "nebula-python";
tag = version;
hash = "sha256-WVbLywb/uVHWjtzXHSSlvBUwFz0p3VtiYwAl/0CcMDw=";
};
build-system = [ pdm-backend ];
dependencies = [
future
httplib2
httpx
pytz
six
]
++ httpx.optional-dependencies.http2;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nebula3" ];
disabledTestPaths = [
# Tests require a running thrift instance
"tests/test_connection.py"
"tests/test_data_from_server.py"
"tests/test_graph_storage_client.py"
"tests/test_meta_cache.py"
"tests/test_parameter.py"
"tests/test_pool.py"
"tests/test_session.py"
"tests/test_session_pool.py"
"tests/test_ssl_connection.py"
"tests/test_ssl_pool.py"
];
meta = {
description = "Client API of Nebula Graph in Python";
homepage = "https://github.com/vesoft-inc/nebula-python";
changelog = "https://github.com/vesoft-inc/nebula-python/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}