python3Packages.click: 8.1.8 -> 8.2.1
Diff: https://github.com/pallets/click/compare/8.1.8...8.2.1 Changelog: https://github.com/pallets/click/blob/8.2.1/CHANGES.rst
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
importlib-metadata,
|
||||
pytestCheckHook,
|
||||
@@ -17,24 +16,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click";
|
||||
version = "8.1.8";
|
||||
version = "8.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pallets";
|
||||
repo = "click";
|
||||
tag = version;
|
||||
hash = "sha256-pAAqf8jZbDfVZUoltwIFpov/1ys6HSYMyw3WV2qcE/M=";
|
||||
hash = "sha256-3FfLKwpfkiGfY2+H2fQoZwLBqfPlV46xw2Bc4YEsyps=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
dependencies = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
# for some reason the tests fail to execute cat, even though they run with less just fine,
|
||||
# even adding coreutils to nativeCheckInputs explicitly does not change anything
|
||||
"test_echo_via_pager"
|
||||
# test fails with filename normalization on zfs
|
||||
"test_file_surrogates"
|
||||
];
|
||||
@@ -49,14 +48,15 @@ buildPythonPackage rec {
|
||||
;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/pallets/click/blob/${src.tag}/CHANGES.rst";
|
||||
homepage = "https://click.palletsprojects.com/";
|
||||
description = "Create beautiful command line interfaces in Python";
|
||||
longDescription = ''
|
||||
A Python package for creating beautiful command line interfaces in a
|
||||
composable way, with as little code as necessary.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user