From 0d25c102b20967a4137c13b084f0b5af40c9bc9a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 25 Mar 2025 00:43:04 +0100 Subject: [PATCH] python313Packages.click-option-group: 0.5.6 -> 0.5.7 https://github.com/click-contrib/click-option-group/releases/tag/v0.5.7 --- .../python-modules/click-option-group/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/click-option-group/default.nix b/pkgs/development/python-modules/click-option-group/default.nix index 93d719888186..0c941c616a1a 100644 --- a/pkgs/development/python-modules/click-option-group/default.nix +++ b/pkgs/development/python-modules/click-option-group/default.nix @@ -3,14 +3,15 @@ buildPythonPackage, click, fetchFromGitHub, + hatchling, + hatch-vcs, pytestCheckHook, pythonOlder, - setuptools, }: buildPythonPackage rec { pname = "click-option-group"; - version = "0.5.6"; + version = "0.5.7"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,10 +20,13 @@ buildPythonPackage rec { owner = "click-contrib"; repo = "click-option-group"; tag = "v${version}"; - hash = "sha256-uR5rIZPPT6pRk/jJEy2rZciOXrHWVWN6BfGroQ3znas="; + hash = "sha256-MiTOAgIZZEvU6aLdUpQvLTd7dJpYXU1gJz+ea8C/95Y="; }; - build-system = [ setuptools ]; + build-system = [ + hatchling + hatch-vcs + ]; dependencies = [ click ]; @@ -44,7 +48,7 @@ buildPythonPackage rec { for example). Moreover, argparse stdlib package contains this functionality out of the box. ''; - homepage = "https://github.com/click-contrib/click-option-group"; + homepage = "https://github.com/click-contrib/click-option-group/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ hexa ]; };