2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
unstableGitUpdater,
|
|
|
|
buildLua,
|
|
|
|
}:
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
buildLua {
|
|
|
|
pname = "chapterskip";
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0-unstable-2022-09-08";
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "po5";
|
2024-05-15 15:35:15 +00:00
|
|
|
repo = "chapterskip";
|
|
|
|
rev = "b26825316e3329882206ae78dc903ebc4613f039";
|
|
|
|
hash = "sha256-OTrLQE3rYvPQamEX23D6HttNjx3vafWdTMxTiWpDy90=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-01-02 11:29:13 +00:00
|
|
|
description = "Automatically skips chapters based on title";
|
|
|
|
longDescription = ''
|
2024-05-15 15:35:15 +00:00
|
|
|
MPV script that skips chapters based on their title, categorized using regexes.
|
|
|
|
The set of skipped categories can be configured globally, or by an auto-profile.
|
2024-01-02 11:29:13 +00:00
|
|
|
'';
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://github.com/po5/chapterskip";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.unfree; # https://github.com/po5/chapterskip/issues/10
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with lib.maintainers; [ nicoo ];
|
|
|
|
};
|
|
|
|
}
|