Commit cd2e6b28 authored by Robert Schütz's avatar Robert Schütz
Browse files

python313Packages.foobot-async: fix build

parent d9f6719f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 = [