diff options
author | lunik1 <ch.gpg@themaw.xyz> | 2022-06-29 23:05:32 +0100 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2022-06-29 23:05:32 +0100 |
commit | 95df3315f2c0c91b29690db23131766a92994e14 (patch) | |
tree | 7358f8b4858b61cd0d66bc3e24730b1573d4a472 /pkgs/applications/video/mpv | |
parent | bd97c7ab87994a268a3096af14c53a16efdd8eea (diff) |
mpvScripts.mpv-playlistmanager: unstable-2021-09-27 → unstable-2022-08-26
Diffstat (limited to 'pkgs/applications/video/mpv')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix b/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix index a1179ef7aa3a..b59f9de38714 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix @@ -1,27 +1,26 @@ -{ lib, stdenvNoCC, fetchFromGitHub, youtube-dl }: +{ lib, stdenvNoCC, fetchFromGitHub, yt-dlp }: stdenvNoCC.mkDerivation rec { pname = "mpv-playlistmanager"; - version = "unstable-2021-09-27"; + version = "unstable-2022-08-26"; src = fetchFromGitHub { owner = "jonniek"; repo = "mpv-playlistmanager"; - rev = "9a759b300c92b55e82be5824fe058e263975741a"; - sha256 = "qMzDJlouBptwyNdw2ag4VKEtmkQNUlos0USPerBAV/s="; + rev = "07393162f7f78f8188e976f616f1b89813cec741"; + sha256 = "sha256-Vgh5F6c90ijp5LVrP2cdAOXo+QtJ9aXI9G/3C2HGqd4="; }; postPatch = '' substituteInPlace playlistmanager.lua \ - --replace "'youtube-dl'" "'${youtube-dl}/bin/youtube-dl'" \ + --replace "youtube-dl" "${lib.getBin yt-dlp}/bin/yt-dlp" ''; dontBuild = true; installPhase = '' runHook preInstall - mkdir -p $out/share/mpv/scripts - cp playlistmanager.lua $out/share/mpv/scripts + install -D -t $out/share/mpv/scripts playlistmanager.lua runHook postInstall ''; |