83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
27 lines
761 B
Nix
27 lines
761 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
buildLua,
|
|
}:
|
|
buildLua {
|
|
pname = "dynamic-crop";
|
|
|
|
version = "0-unstable-2024-06-22";
|
|
src = fetchFromGitHub {
|
|
owner = "Ashyni";
|
|
repo = "mpv-scripts";
|
|
rev = "1fadd5ea3e31818db33c9372c40161db6fc1bdd3";
|
|
hash = "sha256-nC0Iw+9PSGxc3OdYhEmFVa49Sw+rIbuFhgZvAphP4cM=";
|
|
};
|
|
passthru.scriptName = "dynamic-crop.lua";
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = ''Script to "cropping" dynamically, hard-coded black bars detected with lavfi-cropdetect filter for Ultra Wide Screen or any screen (Smartphone/Tablet).'';
|
|
homepage = "https://github.com/Ashyni/mpv-scripts";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.iynaix ];
|
|
};
|
|
}
|