Unverified Commit bb9f54bb authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

aws-sam-cli: 1.153.1 -> 1.154.0 (#495706)

parents 0e79bd91 4a1912c0
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -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 \