nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 745 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, click 3, requests 4, tabulate 5, six 6, configparser 7, pytest 8}: 9 10buildPythonPackage rec { 11 pname = "databricks-cli"; 12 version = "0.16.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-GBiQaBg7YY31bJft0W8Iq7WXhX98wPgPFHdNwuZ7WQY="; 17 }; 18 19 checkInputs = [ 20 pytest 21 ]; 22 23 checkPhase = "pytest tests"; 24 # tests folder is missing in PyPI 25 doCheck = false; 26 27 propagatedBuildInputs = [ 28 click 29 requests 30 tabulate 31 six 32 configparser 33 ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/databricks/databricks-cli"; 37 description = "A command line interface for Databricks"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ tbenst ]; 40 }; 41}