biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / databricks-cli / default.nix
blob4aeaec10aa0490d5b14cc17325eacc3fe6f65677
2   lib,
3   buildPythonPackage,
4   click,
5   configparser,
6   decorator,
7   fetchFromGitHub,
8   mock,
9   oauthlib,
10   pyjwt,
11   pytestCheckHook,
12   pythonOlder,
13   requests,
14   requests-mock,
15   six,
16   tabulate,
19 buildPythonPackage rec {
20   pname = "databricks-cli";
21   version = "0.18.0";
22   format = "setuptools";
24   disabled = pythonOlder "3.7";
26   src = fetchFromGitHub {
27     owner = "databricks";
28     repo = pname;
29     rev = "refs/tags/${version}";
30     hash = "sha256-dH95C2AY/B6F9BROr6rh+gVtKqxsg1gyEU5MzCd5aqs=";
31   };
33   propagatedBuildInputs = [
34     click
35     configparser
36     oauthlib
37     pyjwt
38     requests
39     requests-mock
40     six
41     tabulate
42   ];
44   nativeCheckInputs = [
45     decorator
46     mock
47     pytestCheckHook
48   ];
50   disabledTestPaths = [
51     # Disabled due to option parsing which we don't have
52     "integration/dbfs/test_integration.py"
53     "integration/workspace/test_integration.py"
54   ];
56   pythonImportsCheck = [ "databricks_cli" ];
58   meta = with lib; {
59     description = "Command line interface for Databricks";
60     homepage = "https://github.com/databricks/databricks-cli";
61     changelog = "https://github.com/databricks/databricks-cli/releases/tag/${version}";
62     license = licenses.asl20;
63     maintainers = with maintainers; [ tbenst ];
64   };