From c2a978b39121b6172845216f697c2a18043729b2 Mon Sep 17 00:00:00 2001 From: Dee Anzorge Date: Fri, 10 Jul 2026 17:43:20 +0200 Subject: [PATCH] streamlink: fix build Updating requests to 2.34 caused test failure. Pull upstream patch to fix it. See https://github.com/streamlink/streamlink/pull/6923 --- pkgs/by-name/st/streamlink/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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; [