From 2fbe0b8ca66b018af7e46426c785f724a277250c Mon Sep 17 00:00:00 2001 From: Harinn Date: Sun, 7 Jun 2026 11:00:06 +0700 Subject: [PATCH 1/2] python3Packages.click-command-tree: migrate to pyproject --- .../python-modules/click-command-tree/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/click-command-tree/default.nix b/pkgs/development/python-modules/click-command-tree/default.nix index 5d7b2cf3da4c..6e67b31c24ae 100644 --- a/pkgs/development/python-modules/click-command-tree/default.nix +++ b/pkgs/development/python-modules/click-command-tree/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, click, pytestCheckHook, }: @@ -9,7 +10,7 @@ buildPythonPackage (finalAttrs: { pname = "click-command-tree"; version = "1.2.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "whwright"; @@ -18,7 +19,9 @@ buildPythonPackage (finalAttrs: { hash = "sha256-oshAHCGe8p5BQ0W21bXSxrTCEFgIxZ6BmUEiWB1xAoI="; }; - propagatedBuildInputs = [ click ]; + build-system = [ setuptools ]; + + dependencies = [ click ]; nativeCheckInputs = [ pytestCheckHook ]; From 315d63a6784bd541fd4df5fc48d341d4baf64c34 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sun, 7 Jun 2026 11:03:49 +0700 Subject: [PATCH 2/2] python3Packages.click-command-tree: modernize --- pkgs/development/python-modules/click-command-tree/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/click-command-tree/default.nix b/pkgs/development/python-modules/click-command-tree/default.nix index 6e67b31c24ae..bf1141b0c81c 100644 --- a/pkgs/development/python-modules/click-command-tree/default.nix +++ b/pkgs/development/python-modules/click-command-tree/default.nix @@ -12,6 +12,8 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "whwright"; repo = "click-command-tree";