nixpkgs/pkgs/development/python-modules/databricks-cli/default.nix

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