depot/pkgs/applications/video/mpv/scripts/thumbfast.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

34 lines
746 B
Nix

{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
mpv-unwrapped,
}:
buildLua {
pname = "mpv-thumbfast";
version = "0-unstable-2024-08-02";
src = fetchFromGitHub {
owner = "po5";
repo = "thumbfast";
rev = "f1fdf10b17f394f2d42520d0e9bf22feaa20a9f4";
hash = "sha256-cygLf+0PMH7cVXBcY12PdcxBHmy38DNoXQubKAlerHM=";
};
passthru.updateScript = unstableGitUpdater { };
passthru.extraWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ mpv-unwrapped ])
];
meta = {
description = "High-performance on-the-fly thumbnailer for mpv";
homepage = "https://github.com/po5/thumbfast";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ apfelkuchen6 ];
};
}