From 3e1cb3ef61fd4c9455c7e055698086c1876846b9 Mon Sep 17 00:00:00 2001 From: Andrea Bedini Date: Mon, 30 Jul 2018 14:23:44 +0800 Subject: [PATCH] aws-sam-cli: 0.4.0 -> 0.5.0 --- pkgs/development/tools/aws-sam-cli/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix index e33d6b26b12b..8778084163e8 100644 --- a/pkgs/development/tools/aws-sam-cli/default.nix +++ b/pkgs/development/tools/aws-sam-cli/default.nix @@ -6,11 +6,11 @@ with python.pkgs; buildPythonApplication rec { pname = "aws-sam-cli"; - version = "0.4.0"; + version = "0.5.0"; src = fetchPypi { inherit pname version; - sha256 = "4740bfa23f39880d807aa75a2143259f7f15eec34c5fa5dde8fc04d8563ef521"; + sha256 = "2acf9517f467950adb4939746658091e60cf60ee80093ffd0d3d821cb8a1f9fc"; }; # Tests are not included in the PyPI package @@ -21,13 +21,20 @@ buildPythonApplication rec { boto3 click cookiecutter + dateparser docker enum34 flask + python-dateutil pyyaml six ]; + postPatch = '' + substituteInPlace ./requirements/base.txt \ + --replace 'aws-sam-translator==1.6.0' 'aws-sam-translator>=1.6.0'; + ''; + meta = with lib; { homepage = https://github.com/awslabs/aws-sam-cli; description = "CLI tool for local development and testing of Serverless applications";