mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #139694 from austinbutler/awslambdaric-simplejson-patch
This commit is contained in:
commit
f68d7408c6
@ -1,5 +1,17 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytestCheckHook, autoconf
|
||||
, automake, cmake, gcc, libtool, perl, simplejson }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
, autoconf
|
||||
, automake
|
||||
, cmake
|
||||
, gcc
|
||||
, libtool
|
||||
, perl
|
||||
, simplejson
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awslambdaric";
|
||||
@ -13,6 +25,14 @@ buildPythonPackage rec {
|
||||
sha256 = "1r4b4w5xhf6p4vs7yx89kighlqim9f96v2ryknmrnmblgr4kg0h1";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/aws/aws-lambda-python-runtime-interface-client/pull/58
|
||||
url = "https://github.com/aws/aws-lambda-python-runtime-interface-client/commit/162c3c0051bb9daa92e4a2a4af7e90aea60ee405.patch";
|
||||
sha256 = "09qqq5x6npc9jw2qbhzifqn5sqiby4smiin1aw30psmlp21fv7j8";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace 'simplejson==3' 'simplejson~=3'
|
||||
|
Loading…
Reference in New Issue
Block a user