Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildLua,
|
|
fetchFromGitHub,
|
|
gitUpdater,
|
|
python3,
|
|
}:
|
|
|
|
buildLua rec {
|
|
pname = "mpv-thumbnail-script";
|
|
version = "0.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marzzzello";
|
|
repo = "mpv_thumbnail_script";
|
|
rev = version;
|
|
sha256 = "sha256-nflavx25skLj9kitneL6Uz3zI2DyMMhQC595npofzbQ=";
|
|
};
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
nativeBuildInputs = [ python3 ];
|
|
postPatch = "patchShebangs concat_files.py";
|
|
dontBuild = false;
|
|
|
|
scriptPath = "mpv_thumbnail_script_client_osc.lua";
|
|
extraScripts = [ "mpv_thumbnail_script_server.lua" ];
|
|
passthru.scriptName = "mpv_thumbnail_script_{client_osc,server}.lua";
|
|
|
|
meta = {
|
|
description = "Lua script to show preview thumbnails in mpv's OSC seekbar";
|
|
homepage = "https://github.com/marzzzello/mpv_thumbnail_script";
|
|
changelog = "https://github.com/marzzzello/mpv_thumbnail_script/releases/tag/${version}";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.all;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
};
|
|
}
|