Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / databricks-cli / default.nix
blob92d6adf55a11e0fc76241fb2b5dca310879290b6
1 { lib
2 , buildPythonPackage
3 , click
4 , configparser
5 , decorator
6 , fetchFromGitHub
7 , mock
8 , oauthlib
9 , pyjwt
10 , pytestCheckHook
11 , pythonOlder
12 , requests
13 , requests-mock
14 , six
15 , tabulate
18 buildPythonPackage rec {
19   pname = "databricks-cli";
20   version = "0.18.0";
21   format = "setuptools";
23   disabled = pythonOlder "3.7";
25   src = fetchFromGitHub {
26     owner = "databricks";
27     repo = pname;
28     rev = "refs/tags/${version}";
29     hash = "sha256-dH95C2AY/B6F9BROr6rh+gVtKqxsg1gyEU5MzCd5aqs=";
30   };
32   propagatedBuildInputs = [
33     click
34     configparser
35     oauthlib
36     pyjwt
37     requests
38     requests-mock
39     six
40     tabulate
41   ];
43   nativeCheckInputs = [
44     decorator
45     mock
46     pytestCheckHook
47   ];
49   disabledTestPaths = [
50     # Disabled due to option parsing which we don't have
51     "integration/dbfs/test_integration.py"
52     "integration/workspace/test_integration.py"
53   ];
55   pythonImportsCheck = [
56     "databricks_cli"
57   ];
59   meta = with lib; {
60     description = "Command line interface for Databricks";
61     homepage = "https://github.com/databricks/databricks-cli";
62     changelog = "https://github.com/databricks/databricks-cli/releases/tag/${version}";
63     license = licenses.asl20;
64     maintainers = with maintainers; [ tbenst ];
65   };