depot/third_party/nixpkgs/pkgs/development/python-modules/databricks-cli/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

41 lines
758 B
Nix

{ lib, buildPythonPackage, fetchPypi
, click
, requests
, tabulate
, six
, configparser
, pytest
}:
buildPythonPackage rec {
pname = "databricks-cli";
version = "0.14.3";
src = fetchPypi {
inherit pname version;
sha256 = "bdf89a3917a3f8f8b99163e38d40e66dc478c7408954747f145cd09816b05e2c";
};
checkInputs = [
pytest
];
checkPhase = "pytest tests";
# tests folder is missing in PyPI
doCheck = false;
propagatedBuildInputs = [
click
requests
tabulate
six
configparser
];
meta = with lib; {
homepage = "https://github.com/databricks/databricks-cli";
description = "A command line interface for Databricks";
license = licenses.asl20;
maintainers = with maintainers; [ tbenst ];
};
}