depot/third_party/nixpkgs/pkgs/applications/video/mpv/scripts/thumbfast.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

34 lines
746 B
Nix

{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
mpv-unwrapped,
}:
buildLua {
pname = "mpv-thumbfast";
version = "0-unstable-2025-02-04";
src = fetchFromGitHub {
owner = "po5";
repo = "thumbfast";
rev = "9deb0733c4e36938cf90e42ddfb7a19a8b2f4641";
hash = "sha256-avG1CRBrs0UM4HcFMUVAQyOtcIFkZ/H+PbjZJKU7o2A=";
};
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 ];
};
}