mpvScripts.mpv-playlistmanager: unstable-2022-08-26 -> unstable-2023-08-09

This commit is contained in:
lunik1
2023-08-10 23:15:07 +01:00
parent 079f7bd05b
commit 656dbeac25
@@ -2,18 +2,19 @@
stdenvNoCC.mkDerivation rec {
pname = "mpv-playlistmanager";
version = "unstable-2022-08-26";
version = "unstable-2023-08-09";
src = fetchFromGitHub {
owner = "jonniek";
repo = "mpv-playlistmanager";
rev = "07393162f7f78f8188e976f616f1b89813cec741";
sha256 = "sha256-Vgh5F6c90ijp5LVrP2cdAOXo+QtJ9aXI9G/3C2HGqd4=";
rev = "e479cbc7e83a07c5444f335cfda13793681bcbd8";
sha256 = "sha256-Nh4g8uSkHWPjwl5wyqWtM+DW9fkEbmCcOsZa4eAF6Cs=";
};
postPatch = ''
substituteInPlace playlistmanager.lua \
--replace "youtube-dl" "${lib.getBin yt-dlp}/bin/yt-dlp"
--replace 'youtube_dl_executable = "youtube-dl",' \
'youtube_dl_executable = "${lib.getBin yt-dlp}/bin/yt-dlp"',
'';
dontBuild = true;