mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01: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.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9e956f0efb7aad100d9963f223db986392cf2dc3e9922f2f83e55d372e84ef16";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|