Files
nixpkgs/pkgs/development/python-modules/databricks-cli/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

66 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
click,
configparser,
decorator,
fetchFromGitHub,
mock,
oauthlib,
pyjwt,
pytestCheckHook,
pythonOlder,
requests,
requests-mock,
six,
tabulate,
}:
buildPythonPackage rec {
pname = "databricks-cli";
version = "0.18.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "databricks";
repo = "databricks-cli";
tag = version;
hash = "sha256-dH95C2AY/B6F9BROr6rh+gVtKqxsg1gyEU5MzCd5aqs=";
};
propagatedBuildInputs = [
click
configparser
oauthlib
pyjwt
requests
requests-mock
six
tabulate
];
nativeCheckInputs = [
decorator
mock
pytestCheckHook
];
disabledTestPaths = [
# Disabled due to option parsing which we don't have
"integration/dbfs/test_integration.py"
"integration/workspace/test_integration.py"
];
pythonImportsCheck = [ "databricks_cli" ];
meta = {
description = "Command line interface for Databricks";
homepage = "https://github.com/databricks/databricks-cli";
changelog = "https://github.com/databricks/databricks-cli/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ tbenst ];
};
}