diff --git a/pkgs/applications/video/ani-cli/default.nix b/pkgs/applications/video/ani-cli/default.nix index 389d00dc1a41e..6c38a3fffb920 100644 --- a/pkgs/applications/video/ani-cli/default.nix +++ b/pkgs/applications/video/ani-cli/default.nix @@ -1,45 +1,55 @@ -{ fetchFromGitHub -, makeWrapper -, stdenvNoCC -, lib -, gnugrep -, gnused -, curl -, catt -, syncplay -, ffmpeg -, fzf -, aria2 -, withMpv ? true, mpv -, withVlc ? false, vlc -, withIina ? false, iina -, chromecastSupport ? false -, syncSupport ? false +{ + fetchFromGitHub, + makeWrapper, + stdenvNoCC, + lib, + gnugrep, + gnused, + curl, + catt, + syncplay, + ffmpeg, + fzf, + aria2, + withMpv ? true, + mpv, + withVlc ? false, + vlc, + withIina ? false, + iina, + chromecastSupport ? false, + syncSupport ? false, }: assert withMpv || withVlc || withIina; stdenvNoCC.mkDerivation rec { pname = "ani-cli"; - version = "4.6"; + version = "4.8"; src = fetchFromGitHub { owner = "pystardust"; repo = "ani-cli"; rev = "v${version}"; - hash = "sha256-ahyCD4QsYyb3xtNK03HITeF0+hJFIHZ+PAjisuS/Kdo="; + hash = "sha256-vntCiWaONndjU622c1BoCoASQxQf/i7yO0x+70OxzPU="; }; nativeBuildInputs = [ makeWrapper ]; runtimeDependencies = - let player = [] - ++ lib.optional withMpv mpv - ++ lib.optional withVlc vlc - ++ lib.optional withIina iina; - in [ gnugrep gnused curl fzf ffmpeg aria2 ] - ++ player - ++ lib.optional chromecastSupport catt - ++ lib.optional syncSupport syncplay; + let + player = [ ] ++ lib.optional withMpv mpv ++ lib.optional withVlc vlc ++ lib.optional withIina iina; + in + [ + gnugrep + gnused + curl + fzf + ffmpeg + aria2 + ] + ++ player + ++ lib.optional chromecastSupport catt + ++ lib.optional syncSupport syncplay; installPhase = '' runHook preInstall