1{
2 lib,
3 fetchFromGitHub,
4 unstableGitUpdater,
5 buildLua,
6}:
7
8buildLua {
9 pname = "chapterskip";
10
11 version = "0-unstable-2022-09-08";
12 src = fetchFromGitHub {
13 owner = "po5";
14 repo = "chapterskip";
15 rev = "b26825316e3329882206ae78dc903ebc4613f039";
16 hash = "sha256-OTrLQE3rYvPQamEX23D6HttNjx3vafWdTMxTiWpDy90=";
17 };
18 passthru.updateScript = unstableGitUpdater { };
19
20 meta = {
21 description = "Automatically skips chapters based on title";
22 longDescription = ''
23 MPV script that skips chapters based on their title, categorized using regexes.
24 The set of skipped categories can be configured globally, or by an auto-profile.
25 '';
26 homepage = "https://github.com/po5/chapterskip";
27 license = lib.licenses.unfree; # https://github.com/po5/chapterskip/issues/10
28 maintainers = with lib.maintainers; [ nicoo ];
29 };
30}