aws-sam-cli: 1.36.0 -> 1.37.0
This commit is contained in:
parent
c2798838e7
commit
dc2748118a
1 changed files with 12 additions and 11 deletions
|
@ -5,16 +5,13 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "aws-sam-cli";
|
||||
version = "1.36.0";
|
||||
version = "1.37.0";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-GJbBhe1l25ZHGWVu1o2oJvd/BNv8dv7aIYor/ebFl9U=";
|
||||
hash = "sha256-XE3g2mKwAiaJvi0ShVScnCKrmz7ujaQgOeFXuYwtP4g=";
|
||||
};
|
||||
|
||||
# Tests are not included in the PyPI package
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aws-lambda-builders
|
||||
aws-sam-translator
|
||||
|
@ -42,18 +39,22 @@ python3.pkgs.buildPythonApplication rec {
|
|||
# fix over-restrictive version bounds
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace "aws_lambda_builders==" "aws-lambda-builders #" \
|
||||
--replace "click~=7.1" "click~=8.0" \
|
||||
--replace "Flask~=1.1.2" "Flask~=2.0" \
|
||||
--replace "dateparser~=1.0" "dateparser>=0.7" \
|
||||
--replace "docker~=4.2.0" "docker>=4.2.0" \
|
||||
--replace "requests==" "requests #" \
|
||||
--replace "watchdog==" "watchdog #" \
|
||||
--replace "aws_lambda_builders==" "aws-lambda-builders #" \
|
||||
--replace "typing_extensions==" "typing-extensions #" \
|
||||
--replace "Flask~=1.1.2" "Flask~=2.0" \
|
||||
--replace "PyYAML~=5.3" "PyYAML" \
|
||||
--replace "regex==" "regex #" \
|
||||
--replace "tzlocal==3.0" "tzlocal"
|
||||
--replace "requests==" "requests #" \
|
||||
--replace "typing_extensions==" "typing-extensions #" \
|
||||
--replace "tzlocal==3.0" "tzlocal" \
|
||||
--replace "watchdog==" "watchdog #"
|
||||
'';
|
||||
|
||||
# Tests are not included in the PyPI package
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/awslabs/aws-sam-cli";
|
||||
description = "CLI tool for local development and testing of Serverless applications";
|
||||
|
|
Loading…
Reference in a new issue