Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: auto-editor 29.4.0 -> 29.6.1 https://repology.org/project/auto-editor/versions attrpath: auto-editor Checking auto update branch... No auto update branch exists Old version 29.4.0" not present in master derivation file with contents: { lib, stdenv, config, buildNimPackage, fetchFromGitHub, withHEVC ? true, withWhisper ? false, # TODO: Investigate linker failure. See PR 476678 withVpx ? true, withSvtAv1 ? true, withCuda ? false, ffmpeg-full, yt-dlp, lame, libopus, libvpx, x264, x265, dav1d, svt-av1, libvpl, whisper-cpp, python3, python3Packages, }: buildNimPackage rec { pname = "auto-editor"; version = "29.6.1"; src = fetchFromGitHub { owner = "WyattBlue"; repo = "auto-editor"; tag = version; hash = "sha256-7/ey7nZdy1SnGdW5LjX7dtxyqqvrTuIvtJXMXYVYB6k="; }; lockFile = ./lock.json; buildInputs = [ ffmpeg-full lame libopus x264 dav1d ] ++ 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 = 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 \ --replace-fail '"yt-dlp"' '"${lib.getExe yt-dlp}"' # buildNimPackage hack substituteInPlace ae.nimble \ --replace-fail '"main=auto-editor"' '"main"' ''; nativeCheckInputs = [ python3 python3Packages.av ]; checkPhase = '' runHook preCheck eval "nim r --nimcache:$NIX_BUILD_TOP/nimcache $nimFlags $src/tests/unit.nim" substituteInPlace tests/test.py \ --replace-fail '"./auto-editor"' "\"$out/bin/main\"" python3 tests/test.py runHook postCheck ''; postInstall = '' mv $out/bin/main $out/bin/auto-editor ''; meta = { changelog = "https://github.com/WyattBlue/auto-editor/releases/tag/${src.tag}"; description = "Command line application for automatically editing video and audio by analyzing a variety of methods, most notably audio loudness"; homepage = "https://auto-editor.com/"; license = lib.licenses.unlicense; mainProgram = "auto-editor"; maintainers = with lib.maintainers; [ tomasajt utopiatopia ]; platforms = lib.platforms.unix; }; }