Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildLua,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildLua {
|
|
pname = "easycrop";
|
|
version = "0-unstable-2018-01-24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aidanholm";
|
|
repo = "mpv-easycrop";
|
|
rev = "b8a67bb9039e19dec54d92ea57076c0c98e981aa";
|
|
hash = "sha256-VRQP8j/Z/OvVqrEpvWcLmJFotxbTRynHoqvfIQIQmqY=";
|
|
};
|
|
|
|
scriptPath = "easycrop.lua";
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Manually crop videos during playback in mpv";
|
|
longDescription = ''
|
|
A simple mpv script for manually cropping videos with ease.
|
|
|
|
- Works during video playback
|
|
- No need to re-encode or modify video files
|
|
|
|
Press "c" to begin cropping. Click at one corner of the desired
|
|
cropping rectangle, and click a second time at the opposite
|
|
corner; the video will be cropped immediately. Pressing "c" again
|
|
will undo the current crop.
|
|
|
|
If you wish to use a key other than "c" to crop, the keybind
|
|
`easy_crop` can be changed.
|
|
'';
|
|
homepage = "https://github.com/aidanholm/mpv-easycrop";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.all;
|
|
maintainers = with lib.maintainers; [ RossSmyth ];
|
|
};
|
|
}
|