mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python312Packages.slack-bolt: 1.20.1 -> 1.21.2
Diff: https://github.com/slackapi/bolt-python/compare/refs/tags/v1.20.1...v1.21.2 Changelog: https://github.com/slackapi/bolt-python/releases/tag/v1.21.2
This commit is contained in:
parent
966b40728f
commit
98a9f147e1
@ -10,7 +10,6 @@
|
||||
falcon,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
flask,
|
||||
flask-sockets,
|
||||
gunicorn,
|
||||
@ -33,32 +32,23 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slack-bolt";
|
||||
version = "1.20.1";
|
||||
version = "1.21.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "slackapi";
|
||||
repo = "bolt-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wDiRQ44ei59I8/2JXv2j9VQFthdyS7sSEZLS7trhdp0=";
|
||||
hash = "sha256-4zEg60f3wtLnzrZU4mZMJmF6hO0EiHDTx6iw4WDsx0U=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "pytest-runner==5.2" ""
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"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=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ slack-sdk ];
|
||||
|
Loading…
Reference in New Issue
Block a user