81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
41 lines
745 B
Nix
41 lines
745 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, click
|
|
, requests
|
|
, tabulate
|
|
, six
|
|
, configparser
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "databricks-cli";
|
|
version = "0.16.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-GBiQaBg7YY31bJft0W8Iq7WXhX98wPgPFHdNwuZ7WQY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|