yt-dlp: 2025.3.21 -> 2025.3.25 (#392954)
This commit is contained in:
@@ -17,13 +17,13 @@ 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.3.21";
|
||||
version = "2025.3.25";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "yt_dlp";
|
||||
hash = "sha256-W89HsolyVOo4FpNajd5H0kO/9VZ4LM7WsWorhea2gro=";
|
||||
hash = "sha256-x/QlFvnfMdrvU8yiWQI5QBzzHbfE6spnZnz9gvLgric=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@@ -75,14 +75,6 @@ python3Packages.buildPythonApplication rec {
|
||||
# Requires network
|
||||
doCheck = false;
|
||||
|
||||
# curl-cffi 0.7.2 and 0.7.3 are broken, but 0.7.4 is fixed
|
||||
# https://github.com/lexiforest/curl_cffi/issues/394
|
||||
postPatch = ''
|
||||
substituteInPlace yt_dlp/networking/_curlcffi.py \
|
||||
--replace-fail "(0, 7, 0) <= curl_cffi_version < (0, 7, 2)" \
|
||||
"((0, 7, 0) <= curl_cffi_version < (0, 7, 2)) or curl_cffi_version >= (0, 7, 4)"
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString withAlias ''
|
||||
ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user