Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, click, configparser, decorator, fetchFromGitHub, mock, oauthlib, pyjwt, pytestCheckHook, pythonOlder, requests, requests-mock, six, tabulate}:
buildPythonPackage rec { pname = "databricks-cli"; version = "0.18.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "databricks"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-dH95C2AY/B6F9BROr6rh+gVtKqxsg1gyEU5MzCd5aqs="; };
propagatedBuildInputs = [ click configparser oauthlib pyjwt requests requests-mock six tabulate ];
nativeCheckInputs = [ decorator mock pytestCheckHook ];
disabledTestPaths = [ # Disabled due to option parsing which we don't have "integration/dbfs/test_integration.py" "integration/workspace/test_integration.py" ];
pythonImportsCheck = [ "databricks_cli" ];
meta = with lib; { description = "Command line interface for Databricks"; homepage = "https://github.com/databricks/databricks-cli"; changelog = "https://github.com/databricks/databricks-cli/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ tbenst ]; };}