mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
python310Packages.databricks-sql-connector: add changelog to meta
This commit is contained in:
parent
4dc2855992
commit
827995378d
@ -6,6 +6,7 @@
|
||||
, pyarrow
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -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 = ''
|
||||
@ -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…
Reference in New Issue
Block a user