From 6c2b7519332b6f0e7ed854a46517a4450d5b40f0 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Mon, 21 Mar 2022 13:07:23 -0300 Subject: [PATCH] youtube-dl: update youtube.com download throttling patch --- pkgs/tools/misc/youtube-dl/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix index 6b15488f5c63..79d3ab7b6388 100644 --- a/pkgs/tools/misc/youtube-dl/default.nix +++ b/pkgs/tools/misc/youtube-dl/default.nix @@ -31,11 +31,12 @@ buildPythonPackage rec { # # https://github.com/ytdl-org/youtube-dl/issues/29326 # - # The patch comes from PR https://github.com/ytdl-org/youtube-dl/pull/30188 + # The patch comes from PR https://github.com/ytdl-org/youtube-dl/pull/30184#issuecomment-1025261055 + # plus follow-up (1e677567) from https://github.com/ytdl-org/youtube-dl/pull/30582 (fetchpatch { name = "fix-youtube-dl-speed.patch"; - url = "https://github.com/ytdl-org/youtube-dl/pull/30188.patch"; - sha256 = "15liban37ina2y4bnykfdywdy4rbkfff2r6vd0kqn2k7rfkcczyz"; + url = "https://github.com/ytdl-org/youtube-dl/compare/57044eacebc6f2f3cd83c345e1b6e659a22e4773...1e677567cd083d43f55daef0cc74e5fa24575ae3.diff"; + sha256 = "11s0j3w60r75xx20p0x2j3yc4d3yvz99r0572si8b5qd93lqs4pr"; }) ];