Merge pull request #248422 from lunik1/mpvScripts.mpv-playlistmanager_unstable-2022-08-26->unstable-2022-08-29

mpvScripts.mpv-playlistmanager: unstable-2022-08-26 -> unstable-2023-08-09
This commit is contained in:
Nick Cao 2023-08-10 22:45:27 -06:00 committed by GitHub
commit ba95f02e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;