Merge pull request #273202 from nbraud/mpvScripts/thumbfast

mpvScripts.thumbfast: unstable-2023-06-04 → 2023-12-08
This commit is contained in:
Maciej Krüger 2023-12-12 18:17:08 +01:00 committed by GitHub
commit 029b237744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,22 +2,21 @@
buildLua {
pname = "mpv-thumbfast";
version = "unstable-2023-06-04";
version = "unstable-2023-12-08";
src = fetchFromGitHub {
owner = "po5";
repo = "thumbfast";
rev = "4241c7daa444d3859b51b65a39d30e922adb87e9";
hash = "sha256-7EnFJVjEzqhWXAvhzURoOp/kad6WzwyidWxug6u8lVw=";
rev = "03e93feee5a85bf7c65db953ada41b4826e9f905";
hash = "sha256-5u5WBvWOEydJrnr/vilEgW4+fxkxM6wNjb9Fyyxx/1c=";
};
postPatch = ''
substituteInPlace thumbfast.lua \
--replace 'mpv_path = "mpv"' 'mpv_path = "${lib.getExe mpv-unwrapped}"'
'';
scriptPath = "thumbfast.lua";
passthru.extraWrapperArgs = [
"--prefix" "PATH" ":" "${lib.getBin mpv-unwrapped}/bin"
];
meta = {
description = "High-performance on-the-fly thumbnailer for mpv";
homepage = "https://github.com/po5/thumbfast";