python311Packages.slack-bolt: add patch for moto >= 5 support

This commit is contained in:
Fabian Affolter
2024-05-17 10:45:18 +02:00
parent a62284352d
commit 5b6469f2ee
@@ -8,6 +8,7 @@
, falcon
, fastapi
, fetchFromGitHub
, fetchpatch
, flask
, flask-sockets
, gunicorn
@@ -50,6 +51,15 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "pytest-runner==5.2" ""
'';
patches = [
# moto >=5 support, https://github.com/slackapi/bolt-python/pull/1046
(fetchpatch {
name = "moto-support.patch";
url = "https://github.com/slackapi/bolt-python/commit/69c2015ef49773de111f184dca9668aefac9e7c0.patch";
hash = "sha256-KW7KPeOqanV4n1UOv4DCadplJsqsPY+ju4ry0IvUqpA=";
})
];
nativeBuildInputs = [
setuptools
];