git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #139694 from austinbutler/awslambdaric-simplejson-patch
commitf68d7408c6f41ca5493eb0cf6608d75a89f6b358 authorSandro <sandro.jaeckel@gmail.com> dateTue 28 Sep 2021, 20:29 (5 years ago) parentcb3342e48bf15f
1 file changed+22−2
pkgs/development/python-modules/awslambdaric/default.nix+22−2
pkgs/development/python-modules/awslambdaric/default.nix+22−2
@@ -1,5 +1,17 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf
2−, automake, cmake, gcc, libtool, perl, simplejson }:
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, fetchpatch
5+, isPy27
6+, pytestCheckHook
7+, autoconf
8+, automake
9+, cmake
10+, gcc
11+, libtool
12+, perl
13+, simplejson
14+}:
315
416buildPythonPackage rec {
517 pname = "awslambdaric";
@@ -13,6 +25,14 @@ buildPythonPackage rec {
1325 sha256 = "1r4b4w5xhf6p4vs7yx89kighlqim9f96v2ryknmrnmblgr4kg0h1";
1426 };
1527
28+ patches = [
29+ (fetchpatch {
30+ # https://github.com/aws/aws-lambda-python-runtime-interface-client/pull/58
31+ url = "https://github.com/aws/aws-lambda-python-runtime-interface-client/commit/162c3c0051bb9daa92e4a2a4af7e90aea60ee405.patch";
32+ sha256 = "09qqq5x6npc9jw2qbhzifqn5sqiby4smiin1aw30psmlp21fv7j8";
33+ })
34+ ];
35+
1636 postPatch = ''
1737 substituteInPlace requirements/base.txt \
1838 --replace 'simplejson==3' 'simplejson~=3'