python312Packages.slack-sdk: refactor

This commit is contained in:
Fabian Affolter
2024-02-19 12:25:00 +01:00
parent 0b97c76794
commit eb20384d3f
@@ -13,6 +13,7 @@
, psutil
, pytest-asyncio
, pytestCheckHook
, setuptools
, sqlalchemy
, websocket-client
, websockets
@@ -21,7 +22,7 @@
buildPythonPackage rec {
pname = "slack-sdk";
version = "3.27.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
@@ -32,6 +33,15 @@ buildPythonPackage rec {
hash = "sha256-MA3pn6NQxzXYu/BBpOgfZWnS51dl7oXrAi43jenHhxI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "pytest-runner"' ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiodns
aiohttp