python311Packages.yt-dlp 2023.10.13 -> 2023.11.14 https://repology.org/project/python:yt-dlp/versions attrpath: python311Packages.yt-dlp Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/xpb7lywnrs9l55afr12parkj2vmnvqk9-packages.json.drv building '/nix/store/xpb7lywnrs9l55afr12parkj2vmnvqk9-packages.json.drv'... Going to be running update for following packages: - python3.11-yt-dlp-2023.10.13 Press Enter key to continue... Running update for: - python3.11-yt-dlp-2023.10.13: UPDATING ... - python3.11-yt-dlp-2023.10.13: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/tools/misc/yt-dlp/default.nix b/pkgs/tools/misc/yt-dlp/default.nix index c39832be6561..9218e24230f6 100644 --- a/pkgs/tools/misc/yt-dlp/default.nix +++ b/pkgs/tools/misc/yt-dlp/default.nix @@ -22,11 +22,11 @@ buildPythonPackage 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 = "2023.10.13"; + version = "2023.11.14"; src = fetchPypi { inherit pname version; - hash = "sha256-4CbqHENf827vEhW8TFu4xHmTi5AFSZe6mfY6RUH+Y7Q="; + hash = "sha256-s8JTU7oQaSLYcKWlnk1qLrhXg+vRfinsQ1vD4XZN6L4="; }; propagatedBuildInputs = [ No auto update branch exists Old version 2023.10.13" not present in master derivation file with contents: { lib , buildPythonPackage , fetchPypi , brotli , certifi , ffmpeg , rtmpdump , atomicparsley , pycryptodomex , websockets , mutagen , secretstorage , atomicparsleySupport ? true , ffmpegSupport ? true , rtmpSupport ? true , withAlias ? false # Provides bin/youtube-dl for backcompat , update-python-libraries }: buildPythonPackage rec { pname = "yt-dlp"; # 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 = "2023.11.14"; src = fetchPypi { inherit pname version; hash = "sha256-s8JTU7oQaSLYcKWlnk1qLrhXg+vRfinsQ1vD4XZN6L4="; }; propagatedBuildInputs = [ brotli certifi mutagen pycryptodomex secretstorage # "optional", as in not in requirements.txt, needed for `--cookies-from-browser` websockets ]; # Ensure these utilities are available in $PATH: # - ffmpeg: post-processing & transcoding support # - rtmpdump: download files over RTMP # - atomicparsley: embedding thumbnails makeWrapperArgs = let packagesToBinPath = [] ++ lib.optional atomicparsleySupport atomicparsley ++ lib.optional ffmpegSupport ffmpeg ++ lib.optional rtmpSupport rtmpdump; in lib.optionalString (packagesToBinPath != []) [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ]; setupPyBuildFlags = [ "build_lazy_extractors" ]; # Requires network doCheck = false; postInstall = lib.optionalString withAlias '' ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl" ''; passthru.updateScript = [ update-python-libraries (toString ./.) ]; meta = with lib; { homepage = "https://github.com/yt-dlp/yt-dlp/"; description = "Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)"; longDescription = '' yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. youtube-dl is a small, Python-based command-line program to download videos from YouTube.com and a few more sites. youtube-dl is released to the public domain, which means you can modify it, redistribute it or use it however you like. ''; license = licenses.unlicense; maintainers = with maintainers; [ mkg20001 SuperSandro2000 marsam ]; mainProgram = "yt-dlp"; }; }