python39Packages.awslambdaric: move depedency patching to right phase
This commit is contained in:
parent
a40aefcafa
commit
240cf37b50
|
@ -13,6 +13,11 @@ buildPythonPackage rec {
|
|||
sha256 = "120qar8iaxj6dmnhjw1c40n2w06f1nyxy57dwh06xdiany698fg4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace 'simplejson==3' 'simplejson~=3'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ simplejson ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake cmake libtool perl ];
|
||||
|
@ -21,10 +26,6 @@ buildPythonPackage rec {
|
|||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace requirements/base.txt --replace 'simplejson==3' 'simplejson~=3'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "awslambdaric" "runtime_client" ];
|
||||
|
|
Loading…
Reference in a new issue