Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 73 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchFromGitHub, alembic, lz4, numpy, oauthlib, openpyxl, pandas, poetry-core, pyarrow, pybreaker, pyjwt, pytestCheckHook, sqlalchemy, thrift, requests, urllib3,}:
buildPythonPackage rec { pname = "databricks-sql-connector"; version = "4.2.4"; pyproject = true;
src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sql-python"; tag = "v${version}"; hash = "sha256-QoauhA2Zx2UvlCuKe9mxaOFJKpglVHQmPVVS56np4A0="; };
pythonRelaxDeps = [ "pandas" "pyarrow" "thrift" ];
build-system = [ poetry-core ];
dependencies = [ alembic lz4 numpy oauthlib openpyxl pandas pyarrow pybreaker pyjwt sqlalchemy thrift requests urllib3 ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/unit" ];
pythonImportsCheck = [ "databricks" ];
meta = { description = "Databricks SQL Connector for Python"; homepage = "https://docs.databricks.com/dev-tools/python-sql-connector.html"; changelog = "https://github.com/databricks/databricks-sql-python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ harvidsen ]; };}