forked from mirrors/nixpkgs
pythonPackages.databricks-cli: init at 0.9.1
This commit is contained in:
parent
7a49699a30
commit
5c20a955d7
41
pkgs/development/python-modules/databricks-cli/default.nix
Normal file
41
pkgs/development/python-modules/databricks-cli/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, click
|
||||
, requests
|
||||
, tabulate
|
||||
, six
|
||||
, configparser
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "databricks-cli";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ebf123b5567c06b7583688077120ead075ca06938b9995d4acafa97863ed8ff";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = "pytest tests";
|
||||
# tests folder is missing in PyPI
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
requests
|
||||
tabulate
|
||||
six
|
||||
configparser
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/databricks/databricks-cli";
|
||||
description = "A command line interface for Databricks";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tbenst ];
|
||||
};
|
||||
}
|
|
@ -574,6 +574,8 @@ in {
|
|||
|
||||
btchip = callPackage ../development/python-modules/btchip { };
|
||||
|
||||
databricks-cli = callPackage ../development/python-modules/databricks-cli { };
|
||||
|
||||
datatable = callPackage ../development/python-modules/datatable {
|
||||
inherit (pkgs.llvmPackages) openmp libcxx libcxxabi;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue