summary refs log tree commit diff
diff options
context:
space:
mode:
authorlegendofmiracles <legendofmiracles@protonmail.com>2021-11-05 11:56:12 -0600
committerlegendofmiracles <legendofmiracles@protonmail.com>2021-11-05 12:38:50 -0600
commitb09fcdb0be40a81718aa8a7d9b26e019eac56864 (patch)
treee55fc88477be281c5087ca5b319874d982fa2200
parentec46532a47708493337e6658fe6615d34873b389 (diff)
downloadnixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar.gz
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar.bz2
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar.lz
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar.xz
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.tar.zst
nixpkgs-b09fcdb0be40a81718aa8a7d9b26e019eac56864.zip
python3Packages.aws-sam-cli: 1.29.0 -> 1.35.0, fix build
-rw-r--r--pkgs/development/tools/aws-sam-cli/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix
index c370cddbe43..7b050040029 100644
--- a/pkgs/development/tools/aws-sam-cli/default.nix
+++ b/pkgs/development/tools/aws-sam-cli/default.nix
@@ -5,11 +5,11 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "aws-sam-cli";
-  version = "1.29.0";
+  version = "1.35.0";
 
   src = python3.pkgs.fetchPypi {
     inherit pname version;
-    sha256 = "sha256-JXphjERqY5Vj8j2F4Z7FrFJJEpBgK/5236pYfQRVdco=";
+    sha256 = "sha256-ojJoC8UuZDVm6CDmYbPoO0e+1QAYa0UcekYEd/MGFRM=";
   };
 
   # Tests are not included in the PyPI package
@@ -30,6 +30,8 @@ python3.pkgs.buildPythonApplication rec {
     serverlessrepo
     tomlkit
     watchdog
+    typing-extensions
+    regex
   ];
 
   postFixup = if enableTelemetry then "echo aws-sam-cli TELEMETRY IS ENABLED" else ''
@@ -42,10 +44,14 @@ python3.pkgs.buildPythonApplication rec {
     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 "dateparser~=1.0" "dateparser>=0.7" \
       --replace "docker~=4.2.0" "docker>=4.2.0" \
       --replace "requests==" "requests #" \
-      --replace "watchdog==" "watchdog #"
+      --replace "watchdog==" "watchdog #" \
+      --replace "aws_lambda_builders==" "aws-lambda-builders #" \
+      --replace "typing_extensions==" "typing-extensions #" \
+      --replace "regex==" "regex #" \
+      --replace "tzlocal==3.0" "tzlocal==2.*"
   '';
 
   meta = with lib; {