aws-sam-cli: 1.23.0 -> 1.26.0

closes https://github.com/NixOS/nixpkgs/issues/129565
This commit is contained in:
Artturin 2021-07-10 10:06:41 +03:00
parent 907eab093d
commit de6a909e3f

View file

@ -5,11 +5,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "aws-sam-cli";
version = "1.23.0";
version = "1.26.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "0j0q6p08c3l9z0yc2cggw797k47cjh6ljpchiqgg0fh6mk32215f";
sha256 = "11aqdwhs7wa6cp9zijqi4in3zvwirfnlcy45rrnsq0jdsh3i9hbh";
};
# Tests are not included in the PyPI package
@ -40,6 +40,8 @@ python3.pkgs.buildPythonApplication rec {
# fix over-restrictive version bounds
postPatch = ''
substituteInPlace requirements/base.txt \
--replace "click~=7.1" "click~=8.0" \
--replace "Flask~=1.1.2" "Flask~=2.0" \
--replace "dateparser~=0.7" "dateparser>=0.7" \
--replace "docker~=4.2.0" "docker>=4.2.0" \
--replace "requests==2.23.0" "requests~=2.24" \