python313Packages.foobot-async: fix build (#406804)

This commit is contained in:
dotlambda
2025-05-14 18:33:51 -07:00
committed by GitHub
@@ -23,6 +23,12 @@ buildPythonPackage rec {
hash = "sha256-QQjysk2m8QkOpLBdC8kfuoA9PcljgEwzKyrIAhxHB4c=";
};
postPatch = ''
# https://github.com/reefab/foobot_async/issues/7
substituteInPlace foobot_async/__init__.py \
--replace-fail "with async_timeout.timeout" "async with async_timeout.timeout"
'';
build-system = [ setuptools ];
dependencies = [