diff --git a/pkgs/by-name/st/streamlink/package.nix b/pkgs/by-name/st/streamlink/package.nix index 70ca89507d66..ec665ae01763 100644 --- a/pkgs/by-name/st/streamlink/package.nix +++ b/pkgs/by-name/st/streamlink/package.nix @@ -7,6 +7,7 @@ extras ? [ "decompress" ], + fetchpatch2, }: python3Packages.buildPythonApplication rec { @@ -23,6 +24,12 @@ python3Packages.buildPythonApplication rec { (replaceVars ./ffmpeg-path.patch { ffmpeg = lib.getExe ffmpeg; }) + # remove when bumping to >8.4.0 + (fetchpatch2 { + name = "fix-read-timeout-test.patch"; + url = "https://github.com/streamlink/streamlink/commit/a1875a2c85cef47ddf6b1375c3651d52c8e799a1.patch?full_index=1"; + hash = "sha256-9C4NedVyuk0ed3JvpKtvxei3Wo+r4SPlQXbBpoRXZ4k="; + }) ]; nativeBuildInputs = with python3Packages; [