mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 18:48:27 +00:00
python310Packages.click-help-colors: add format
- disable on unsupported Python releases - equalize content
This commit is contained in:
parent
a113e0de29
commit
6122e17a2d
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user