3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.databricks-cli: init at 0.9.1

This commit is contained in:
Tyler Benster 2019-11-24 19:11:12 -08:00 committed by Jon
parent 7a49699a30
commit 5c20a955d7
2 changed files with 43 additions and 0 deletions

View 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 ];
};
}

View file

@ -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;
};