From 2ec25e7fb3b185ba1928bf30ec8be207697d5153 Mon Sep 17 00:00:00 2001 From: utopiatopia <98685984+utopiatopia@users.noreply.github.com> Date: Thu, 8 Jan 2026 23:55:10 -0800 Subject: [PATCH] auto-editor: 29.4.0 -> 29.6.1 --- pkgs/by-name/au/auto-editor/package.nix | 46 ++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pkgs/by-name/au/auto-editor/package.nix b/pkgs/by-name/au/auto-editor/package.nix index 4083ec87315a..3824c3a00534 100644 --- a/pkgs/by-name/au/auto-editor/package.nix +++ b/pkgs/by-name/au/auto-editor/package.nix @@ -1,12 +1,17 @@ { lib, + stdenv, + config, buildNimPackage, fetchFromGitHub, withHEVC ? true, - withWhisper ? false, + withWhisper ? false, # TODO: Investigate linker failure. See PR 476678 + withVpx ? true, + withSvtAv1 ? true, + withCuda ? false, - ffmpeg, + ffmpeg-full, yt-dlp, lame, libopus, @@ -15,6 +20,7 @@ x265, dav1d, svt-av1, + libvpl, whisper-cpp, python3, @@ -23,42 +29,36 @@ buildNimPackage rec { pname = "auto-editor"; - version = "29.4.0"; + version = "29.6.1"; src = fetchFromGitHub { owner = "WyattBlue"; repo = "auto-editor"; tag = version; - hash = "sha256-DzgR/GyVIUq6Dfes6OnTdYO/vyGBPcKSeD2IikF7sIM="; + hash = "sha256-7/ey7nZdy1SnGdW5LjX7dtxyqqvrTuIvtJXMXYVYB6k="; }; lockFile = ./lock.json; buildInputs = [ - ffmpeg + ffmpeg-full lame libopus - libvpx x264 dav1d - svt-av1 ] - ++ lib.optionals withHEVC [ - x265 - ] - ++ lib.optionals withWhisper [ - whisper-cpp - ]; + ++ lib.optionals withHEVC [ x265 ] + ++ lib.optionals withWhisper [ whisper-cpp ] + ++ lib.optionals withVpx [ libvpx ] + ++ lib.optionals withSvtAv1 [ svt-av1 ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ libvpl ]; - nimFlags = [ - "--passc:-Wno-incompatible-pointer-types" - ] - ++ lib.optionals withHEVC [ - "-d:enable_hevc" - ] - ++ lib.optionals withWhisper [ - "-d:enable_whisper" - ]; + nimFlags = + lib.optionals withHEVC [ "-d:enable_hevc" ] + ++ lib.optionals withWhisper [ "-d:enable_whisper" ] + ++ lib.optionals withVpx [ "-d:enable_vpx" ] + ++ lib.optionals withSvtAv1 [ "-d:enable_svtav1" ] + ++ lib.optionals withCuda [ "-d:enable_cuda" ]; postPatch = '' substituteInPlace src/log.nim \ @@ -77,7 +77,7 @@ buildNimPackage rec { checkPhase = '' runHook preCheck - eval "nim r --nimcache:$NIX_BUILD_TOP/nimcache $nimFlags $src/tests/rationals.nim" + eval "nim r --nimcache:$NIX_BUILD_TOP/nimcache $nimFlags $src/tests/unit.nim" substituteInPlace tests/test.py \ --replace-fail '"./auto-editor"' "\"$out/bin/main\""