From 4a1912c09ff4b345ed9632f876ea3346c968a9b9 Mon Sep 17 00:00:00 2001 From: Yiyu Zhou Date: Sun, 1 Mar 2026 21:08:45 -0800 Subject: [PATCH] aws-sam-cli: 1.153.1 -> 1.154.0 Resolves #495645 --- pkgs/by-name/aw/aws-sam-cli/package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/aw/aws-sam-cli/package.nix b/pkgs/by-name/aw/aws-sam-cli/package.nix index 07d1aa433ffa..e3acde7e1a3d 100644 --- a/pkgs/by-name/aw/aws-sam-cli/package.nix +++ b/pkgs/by-name/aw/aws-sam-cli/package.nix @@ -2,6 +2,7 @@ lib, python3, fetchFromGitHub, + fetchpatch2, git, testers, aws-sam-cli, @@ -11,14 +12,14 @@ python3.pkgs.buildPythonApplication rec { pname = "aws-sam-cli"; - version = "1.153.1"; + version = "1.154.0"; pyproject = true; src = fetchFromGitHub { owner = "aws"; repo = "aws-sam-cli"; tag = "v${version}"; - hash = "sha256-502Ca/oHAIG/9G25G8xEJEJPWwDKeGrpRN1ZcEY+1LE="; + hash = "sha256-wy6LZbWmK5rb0foFttPOvDOsFtrQNFc8mGBP9WTzVyw="; }; build-system = with python3.pkgs; [ setuptools ]; @@ -83,6 +84,14 @@ python3.pkgs.buildPythonApplication rec { xray ]); + patches = [ + # Remove after aws-sam-cli > 1.154.0 + (fetchpatch2 { + url = "https://github.com/aws/aws-sam-cli/commit/1e1664faae8ff799cbb03fe16ef1650689803587.patch"; + hash = "sha256-HnOBrKkE/sIGZrgRq8G+ef1wnGvtALV4wma8J5eZfLc="; + }) + ]; + # Remove after upstream bumps click > 8.1.8 postPatch = '' substituteInPlace requirements/base.txt --replace-fail \