diff --git a/pkgs/development/python-modules/click-help-colors/default.nix b/pkgs/development/python-modules/click-help-colors/default.nix index a093cfaf9dec..9a2983aabe8f 100644 --- a/pkgs/development/python-modules/click-help-colors/default.nix +++ b/pkgs/development/python-modules/click-help-colors/default.nix @@ -1,21 +1,34 @@ -{ lib, fetchPypi, buildPythonPackage -, click, pytestCheckHook +{ lib +, fetchPypi +, buildPythonPackage +, click +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "click-help-colors"; version = "0.9.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-dWJF5ULSkia7O8BWv6WIhvISuiuC9OjPX8iEF2rJbXI="; + hash = "sha256-dWJF5ULSkia7O8BWv6WIhvISuiuC9OjPX8iEF2rJbXI="; }; - propagatedBuildInputs = [ click ]; + propagatedBuildInputs = [ + click + ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; - pythonImportsCheck = [ "click_help_colors" ]; + pythonImportsCheck = [ + "click_help_colors" + ]; meta = with lib; { description = "Colorization of help messages in Click";