Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / databricks-cli / default.nix
blob547b9a3af7a23091a65aff7cca719e7ede15e90e
1 { lib, buildPythonPackage, fetchPypi
2 , click
3 , requests
4 , tabulate
5 , six
6 , configparser
7 , pytest
8 }:
10 buildPythonPackage rec {
11   pname = "databricks-cli";
12   version = "0.14.3";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "bdf89a3917a3f8f8b99163e38d40e66dc478c7408954747f145cd09816b05e2c";
17   };
19   checkInputs = [
20     pytest
21   ];
23   checkPhase = "pytest tests";
24   # tests folder is missing in PyPI
25   doCheck = false;
27   propagatedBuildInputs = [
28     click
29     requests
30     tabulate
31     six
32     configparser
33   ];
35   meta = with lib; {
36     homepage = "https://github.com/databricks/databricks-cli";
37     description = "A command line interface for Databricks";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ tbenst ];
40   };