2024-05-15 15:35:15 +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";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0-unstable-2024-08-02";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "po5";
|
|
|
|
repo = "thumbfast";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "f1fdf10b17f394f2d42520d0e9bf22feaa20a9f4";
|
|
|
|
hash = "sha256-cygLf+0PMH7cVXBcY12PdcxBHmy38DNoXQubKAlerHM=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
passthru.extraWrapperArgs = [
|
2024-05-15 15:35:15 +00:00
|
|
|
"--prefix"
|
|
|
|
"PATH"
|
|
|
|
":"
|
|
|
|
(lib.makeBinPath [ mpv-unwrapped ])
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|