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
35 lines
800 B
Nix
35 lines
800 B
Nix
{
|
|
lib,
|
|
buildLua,
|
|
fetchFromGitHub,
|
|
ffmpeg,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildLua {
|
|
pname = "mpv-slicing";
|
|
version = "0-unstable-2017-11-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Kagami";
|
|
repo = "mpv_slicing";
|
|
rev = "d09c11227704c8d5bdaa2c799ef64dce881c63a7";
|
|
hash = "sha256-MKoM0f74/XoctiHQVOB3LzFWtJXpsREfQh5icaebCJo=";
|
|
};
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
postPatch = ''
|
|
substituteInPlace slicing.lua \
|
|
--replace-fail ffmpeg ${lib.getExe ffmpeg}
|
|
'';
|
|
|
|
passthru.scriptName = "slicing.lua";
|
|
|
|
meta = {
|
|
description = "Lua script to cut fragments of the video in uncompressed RGB format";
|
|
homepage = "https://github.com/Kagami/mpv_slicing";
|
|
license = lib.licenses.cc0;
|
|
maintainers = with lib.maintainers; [ tomasajt ];
|
|
};
|
|
}
|