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

python313Packages.directv: fix build

parent d9f6719f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,12 @@ buildPythonPackage rec {
    sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk";
  };

  postPatch = ''
    # TypeError: 'Timeout' object does not support the context manager protocol
    substituteInPlace directv/directv.py \
      --replace-fail "with async_timeout.timeout" "async with async_timeout.timeout"
  '';

  propagatedBuildInputs = [
    aiohttp
    yarl