diff --git a/pkgs/development/python-modules/databricks-cli/default.nix b/pkgs/development/python-modules/databricks-cli/default.nix new file mode 100644 index 000000000000..9dd061065437 --- /dev/null +++ b/pkgs/development/python-modules/databricks-cli/default.nix @@ -0,0 +1,41 @@ +{ stdenv, buildPythonPackage, fetchPypi +, click +, requests +, tabulate +, six +, configparser +, pytest +}: + +buildPythonPackage rec { + pname = "databricks-cli"; + version = "0.9.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1ebf123b5567c06b7583688077120ead075ca06938b9995d4acafa97863ed8ff"; + }; + + checkInputs = [ + pytest + ]; + + checkPhase = "pytest tests"; + # tests folder is missing in PyPI + doCheck = false; + + propagatedBuildInputs = [ + click + requests + tabulate + six + configparser + ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/databricks/databricks-cli"; + description = "A command line interface for Databricks"; + license = licenses.asl20; + maintainers = with maintainers; [ tbenst ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c86d1afdc1e3..9dfa595f231b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -574,6 +574,8 @@ in { btchip = callPackage ../development/python-modules/btchip { }; + databricks-cli = callPackage ../development/python-modules/databricks-cli { }; + datatable = callPackage ../development/python-modules/datatable { inherit (pkgs.llvmPackages) openmp libcxx libcxxabi; };