Loading pkgs/development/python-modules/databricks-sql-connector/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ , pyarrow , poetry-core , pytestCheckHook , pythonOlder }: buildPythonPackage rec { Loading @@ -13,11 +14,13 @@ buildPythonPackage rec { version = "2.2.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sql-python"; rev = "refs/tags/v${version}"; sha256 = "sha256-EMLUXGeVGIXFeaMvaJ+crivRZtOt7W/LCycIO2gwqXA="; hash = "sha256-EMLUXGeVGIXFeaMvaJ+crivRZtOt7W/LCycIO2gwqXA="; }; postPatch = '' Loading @@ -39,11 +42,18 @@ buildPythonPackage rec { pytestCheckHook ]; pytestFlagsArray = [ "tests/unit" ]; pytestFlagsArray = [ "tests/unit" ]; pythonImportsCheck = [ "databricks" ]; meta = with lib; { 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/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ harvidsen ]; }; Loading Loading
pkgs/development/python-modules/databricks-sql-connector/default.nix +12 −2 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ , pyarrow , poetry-core , pytestCheckHook , pythonOlder }: buildPythonPackage rec { Loading @@ -13,11 +14,13 @@ buildPythonPackage rec { version = "2.2.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sql-python"; rev = "refs/tags/v${version}"; sha256 = "sha256-EMLUXGeVGIXFeaMvaJ+crivRZtOt7W/LCycIO2gwqXA="; hash = "sha256-EMLUXGeVGIXFeaMvaJ+crivRZtOt7W/LCycIO2gwqXA="; }; postPatch = '' Loading @@ -39,11 +42,18 @@ buildPythonPackage rec { pytestCheckHook ]; pytestFlagsArray = [ "tests/unit" ]; pytestFlagsArray = [ "tests/unit" ]; pythonImportsCheck = [ "databricks" ]; meta = with lib; { 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/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ harvidsen ]; }; Loading