Fabian Affolter 2023-11-21 17:25:48 +01:00
parent 6cf687b12d
commit f452c825ef

View file

@ -4,6 +4,7 @@
, chalice , chalice
, cherrypy , cherrypy
, django , django
, docker
, falcon , falcon
, fastapi , fastapi
, fetchFromGitHub , fetchFromGitHub
@ -18,6 +19,7 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, sanic , sanic
, setuptools
, sanic-testing , sanic-testing
, slack-sdk , slack-sdk
, starlette , starlette
@ -30,8 +32,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "slack-bolt"; pname = "slack-bolt";
version = "1.18.0"; version = "1.18.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -39,7 +41,7 @@ buildPythonPackage rec {
owner = "slackapi"; owner = "slackapi";
repo = "bolt-python"; repo = "bolt-python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-s9djd/MDNnyNkjkeApY6Fb1mhI6iop8RghaSJdi4eAs="; hash = "sha256-UwVStemFVA4hgqnSpCKpQGwLYG+p5z7MwFXXnIhrvNk=";
}; };
# The packaged pytest-runner version is too new as of 2023-07-27. It's not really needed anyway. Unfortunately, # The packaged pytest-runner version is too new as of 2023-07-27. It's not really needed anyway. Unfortunately,
@ -48,7 +50,13 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "pytest-runner==5.2" "" substituteInPlace setup.py --replace "pytest-runner==5.2" ""
''; '';
propagatedBuildInputs = [ slack-sdk ]; nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
slack-sdk
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
async = [ async = [
@ -78,6 +86,7 @@ buildPythonPackage rec {
}; };
nativeCheckInputs = [ nativeCheckInputs = [
docker
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);