2024-01-13 08:15:51 +00:00
|
|
|
{ lib, fetchFromGitHub, unstableGitUpdater, buildLua, mpv-unwrapped }:
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildLua {
|
|
|
|
pname = "mpv-thumbfast";
|
|
|
|
version = "unstable-2023-12-08";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "po5";
|
|
|
|
repo = "thumbfast";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "03e93feee5a85bf7c65db953ada41b4826e9f905";
|
|
|
|
hash = "sha256-5u5WBvWOEydJrnr/vilEgW4+fxkxM6wNjb9Fyyxx/1c=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
2024-01-13 08:15:51 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
passthru.extraWrapperArgs = [
|
|
|
|
"--prefix" "PATH" ":" "${lib.getBin mpv-unwrapped}/bin"
|
|
|
|
];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High-performance on-the-fly thumbnailer for mpv";
|
|
|
|
homepage = "https://github.com/po5/thumbfast";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = lib.licenses.mpl20;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
|
|
|
};
|
|
|
|
}
|