From 5f9ce80281be5de3947a74889e08959a3adca4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 2 Oct 2025 08:34:45 -0700 Subject: [PATCH] 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 --- .../python-modules/click/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/click/default.nix b/pkgs/development/python-modules/click/default.nix index ec105f1ef7d5..e028343fbb65 100644 --- a/pkgs/development/python-modules/click/default.nix +++ b/pkgs/development/python-modules/click/default.nix @@ -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 ]; }; }