11 stdenvNoCC.mkDerivation (finalAttrs: {
15 src = fetchFromGitHub {
18 rev = "refs/tags/${finalAttrs.version}";
19 hash = "sha256-VEEG3d6rwTAS7/+gBKHFKIg9zFfBu5eBOu6Z23621gM=";
22 nativeBuildInputs = [ makeWrapper ];
33 install -D skip.lua $out/share/mpv/scripts/skip.lua
34 install -Dm 755 ani-skip $out/bin/ani-skip
40 substituteInPlace $out/bin/ani-skip \
41 --replace-fail '--script-opts=%s' "--script=$out/share/mpv/scripts/skip.lua --script-opts=%s"
43 wrapProgram $out/bin/ani-skip \
44 --prefix PATH : ${lib.makeBinPath finalAttrs.runtimeInputs}
48 homepage = "https://github.com/synacktraa/ani-skip";
49 description = "Automated solution to bypassing anime opening and ending sequences";
50 mainProgram = "ani-skip";
51 license = lib.licenses.gpl3;
52 maintainers = [ lib.maintainers.diniamo ];
53 platforms = lib.platforms.unix;