02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
43 lines
769 B
Nix
43 lines
769 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, click
|
|
, oauthlib
|
|
, requests
|
|
, tabulate
|
|
, six
|
|
, configparser
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "databricks-cli";
|
|
version = "0.17.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-SvoX2nPG6TygnF/fJPo1UpZYVLu8PxQoz00n7bdRtyw=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytest
|
|
];
|
|
|
|
checkPhase = "pytest tests";
|
|
# tests folder is missing in PyPI
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
oauthlib
|
|
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 ];
|
|
};
|
|
}
|