From 32062d4c3937fe4e2c77c1ee96fba7458c6dd7f1 Mon Sep 17 00:00:00 2001 From: eljamm Date: Thu, 29 Jan 2026 21:12:28 +0100 Subject: [PATCH] yt-dlp: 2025.12.08 -> 2026.01.29 Changelog: https://github.com/yt-dlp/yt-dlp/blob/2026.01.29/Changelog.md --- pkgs/by-name/yt/yt-dlp/package.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/yt/yt-dlp/package.nix b/pkgs/by-name/yt/yt-dlp/package.nix index 1dc56dd327cb..b8c13eaf480d 100644 --- a/pkgs/by-name/yt/yt-dlp/package.nix +++ b/pkgs/by-name/yt/yt-dlp/package.nix @@ -21,23 +21,19 @@ python3Packages.buildPythonApplication rec { # The websites yt-dlp deals with are a very moving target. That means that # downloads break constantly. Because of that, updates should always be backported # to the latest stable release. - version = "2025.12.08"; + version = "2026.01.29"; pyproject = true; src = fetchFromGitHub { owner = "yt-dlp"; repo = "yt-dlp"; tag = version; - hash = "sha256-y06MDP+CrlHGrell9hcLOGlHp/gU2OOxs7can4hbj+g="; + hash = "sha256-nw/L71aoAJSCbW1y8ir8obrFPSbVlBA0UtlrxL6YtCQ="; }; postPatch = '' substituteInPlace yt_dlp/version.py \ --replace-fail "UPDATE_HINT = None" 'UPDATE_HINT = "Nixpkgs/NixOS likely already contain an updated version.\n To get it run nix-channel --update or nix flake update in your config directory."' - # Until yt-dlp supports curl-cffi 0.14.x, this patch is needed: - substituteInPlace yt_dlp/networking/_curlcffi.py \ - --replace-fail "if curl_cffi_version != (0, 5, 10) and not (0, 10) <= curl_cffi_version < (0, 14)" \ - "if curl_cffi_version != (0, 5, 10) and not (0, 10) <= curl_cffi_version" ${lib.optionalString javascriptSupport '' # deno is required for full YouTube support (since 2025.11.12). # This makes yt-dlp find deno even if it is used as a python dependency, i.e. in kodiPackages.sendtokodi.