1{
2 lib,
3 fetchFromGitHub,
4 unstableGitUpdater,
5 buildLua,
6 mpv-unwrapped,
7}:
8
9buildLua {
10 pname = "mpv-thumbfast";
11 version = "0-unstable-2025-02-04";
12
13 src = fetchFromGitHub {
14 owner = "po5";
15 repo = "thumbfast";
16 rev = "9deb0733c4e36938cf90e42ddfb7a19a8b2f4641";
17 hash = "sha256-avG1CRBrs0UM4HcFMUVAQyOtcIFkZ/H+PbjZJKU7o2A=";
18 };
19 passthru.updateScript = unstableGitUpdater { };
20
21 passthru.extraWrapperArgs = [
22 "--prefix"
23 "PATH"
24 ":"
25 (lib.makeBinPath [ mpv-unwrapped ])
26 ];
27
28 meta = {
29 description = "High-performance on-the-fly thumbnailer for mpv";
30 homepage = "https://github.com/po5/thumbfast";
31 license = lib.licenses.mpl20;
32 maintainers = with lib.maintainers; [ apfelkuchen6 ];
33 };
34}