From 40af5e659dcf0834a476ca282831c03c5d173954 Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Fri, 6 Aug 2021 16:42:05 -0700 Subject: [PATCH] python3Packages.awslambdaric: 1.1.1 -> 1.2.0 --- pkgs/development/python-modules/awslambdaric/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/awslambdaric/default.nix b/pkgs/development/python-modules/awslambdaric/default.nix index db55543ca5a3..6bb6702b1e2b 100644 --- a/pkgs/development/python-modules/awslambdaric/default.nix +++ b/pkgs/development/python-modules/awslambdaric/default.nix @@ -3,14 +3,14 @@ buildPythonPackage rec { pname = "awslambdaric"; - version = "1.1.1"; + version = "1.2.0"; disabled = isPy27; src = fetchFromGitHub { owner = "aws"; repo = "aws-lambda-python-runtime-interface-client"; rev = version; - sha256 = "1f8828y32yrf87bc933jhmjrvj746baibvpn0w21x3ji81vf6mri"; + sha256 = "120qar8iaxj6dmnhjw1c40n2w06f1nyxy57dwh06xdiany698fg4"; }; propagatedBuildInputs = [ simplejson ]; @@ -21,6 +21,10 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; + preBuild = '' + substituteInPlace requirements/base.txt --replace 'simplejson==3' 'simplejson~=3' + ''; + checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "awslambdaric" "runtime_client" ];