mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
42 lines
758 B
Nix
42 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 ];
|
|
};
|
|
}
|