Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 842 B view raw
1{ 2 lib, 3 buildLua, 4 fetchFromGitHub, 5 unstableGitUpdater, 6 yt-dlp, 7}: 8 9buildLua { 10 pname = "mpv-playlistmanager"; 11 version = "0-unstable-2025-03-16"; 12 13 src = fetchFromGitHub { 14 owner = "jonniek"; 15 repo = "mpv-playlistmanager"; 16 rev = "a2755132c18c050269e5fea6093672f0a36ed7db"; 17 hash = "sha256-v+zQiRXPtFXSq3Em3sA37zltUGPhGCpONJ25F2Jxe4w="; 18 }; 19 passthru.updateScript = unstableGitUpdater { }; 20 21 postPatch = '' 22 substituteInPlace playlistmanager.lua \ 23 --replace-fail 'youtube_dl_executable = "yt-dlp",' \ 24 'youtube_dl_executable = "${lib.getExe yt-dlp}"', 25 ''; 26 27 meta = with lib; { 28 description = "Mpv lua script to create and manage playlists"; 29 homepage = "https://github.com/jonniek/mpv-playlistmanager"; 30 license = licenses.unlicense; 31 maintainers = with maintainers; [ lunik1 ]; 32 }; 33}