Change:
package fails to build. Breaks building and subsequently Plasma 5 if is enabled. Steps to reproduce the behavior: of nixpkgs an error builds normally. Full build log: (Affects and Plasma 5) (Could be a issue)
This bisects to
Upstream issue:
Apply the not-yet-merged patch from upstream? I have no clue about the libcaca changes, but at least the patch looks like trivial renames: To me that sounds better than reverting the update (though my information is very limited):

Discussion:
<del> { lib, stdenv, fetchurl, autoreconfHook, fetchpatch , libarchive, perl, xorg, libdvdnav, libbluray , zlib, a52dec, libmad, faad2, ffmpeg, alsa-lib , pkg-config, dbus, fribidi, freefont_ttf, libebml, libmatroska , libvorbis, libtheora, speex, lua5, libgcrypt, libgpg-error, libupnp , libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg , mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image , libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus , libvdpau, libsamplerate, libspatialaudio, live555, fluidsynth , wayland, wayland-protocols, ncurses, srt , onlyLibVLC ? false , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook </del> <ins> { lib , stdenv , fetchurl , fetchpatch , SDL , SDL_image , a52dec , alsa-lib , autoreconfHook , avahi , dbus , faad2 , ffmpeg , flac , fluidsynth , freefont_ttf , fribidi , gnutls , libarchive , libass , libbluray , libcaca , libcddb , libdc1394 , libdvbpsi , libdvdnav , libebml , libgcrypt , libgpg-error , libjack2 , libkate , libmad , libmatroska , libmtp , liboggz , libopus , libpulseaudio , libraw1394 , librsvg , libsamplerate , libspatialaudio , libssh2 , libtheora , libtiger , libupnp , libv4l , libva , libvdpau , libvorbis , libxml2 , live555 , lua5 , mpeg2dec , ncurses , perl , pkg-config , removeReferencesTo , samba , schroedinger , speex , srt , systemd , taglib , unzip , wayland , wayland-protocols , xorg , zlib , chromecastSupport ? true, libmicrodns, protobuf </ins> , jackSupport ? false <ins> , onlyLibVLC ? false </ins> , skins2Support ? !onlyLibVLC, freetype <del> , removeReferencesTo , chromecastSupport ? true, protobuf, libmicrodns </del> <ins> , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook </ins> }: # chromecastSupport requires TCP port 8010 to be open for it to work. # If your firewall is enabled, make sure to have something like: #   networking.firewall.allowedTCPPorts = [ 8010 ]; <del> with lib; </del> <ins> let inherit (lib) optionalString optional optionals; hostIsAarch = stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64; in </ins> stdenv.mkDerivation rec { pname = "${optionalString onlyLibVLC "lib"}vlc"; version = "3.0.16";

# which are not included here for no other reason that nobody has mentioned # needing them buildInputs = [ <del> zlib a52dec libmad faad2 ffmpeg alsa-lib libdvdnav libdvdnav.libdvdread libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpg-error libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec systemd gnutls avahi libcddb SDL SDL_image libmtp taglib libarchive libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate libspatialaudio fluidsynth wayland wayland-protocols ncurses srt ] ++ optional (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) live555 ++ optionals withQt5    [ qtbase qtsvg qtx11extras ] ++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ]) ++ optional jackSupport libjack2 ++ optionals chromecastSupport [ protobuf libmicrodns ]; nativeBuildInputs = [ autoreconfHook perl pkg-config removeReferencesTo unzip ] ++ optionals withQt5 [ wrapQtAppsHook ]; </del> <ins> SDL SDL_image a52dec alsa-lib avahi dbus faad2 ffmpeg flac fluidsynth fribidi gnutls libarchive libass libbluray libcaca libcddb libdc1394 libdvbpsi libdvdnav libdvdnav.libdvdread libebml libgcrypt libgpg-error libkate libmad libmatroska libmtp liboggz libopus libpulseaudio libraw1394 librsvg libsamplerate libspatialaudio libssh2 libtheora libtiger libupnp libv4l libva libvdpau libvorbis libxml2 lua5 mpeg2dec ncurses samba schroedinger speex srt systemd taglib wayland wayland-protocols zlib ] ++ (with xorg; [ libXpm libXv libXvMC xcbutilkeysyms xlibsWrapper ]) ++ optional (!hostIsAarch) live555 ++ optional jackSupport libjack2 ++ optionals chromecastSupport [ libmicrodns protobuf ] ++ optionals skins2Support (with xorg; [ freetype libXext libXinerama libXpm ]) ++ optionals withQt5 [ qtbase qtsvg qtx11extras ]; nativeBuildInputs = [ autoreconfHook perl pkg-config removeReferencesTo unzip ] ++ optionals withQt5 [ wrapQtAppsHook ]; </ins> enableParallelBuilding = true; <del> LIVE555_PREFIX = if (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) then live555 else null; </del> <ins> LIVE555_PREFIX = if hostIsAarch then null else live555; </ins> # vlc depends on a c11-gcc wrapper script which we don't have so we need to # set the path to the compiler BUILDCC = "${stdenv.cc}/bin/gcc"; patches = [ <ins> # Required in order to run newer srt plugin. Remove it when next release arrives </ins> (fetchpatch { url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/4250fe8f28c220d883db454cec2b2c76a07473eb/trunk/vlc-3.0.11.1-srt_1.4.2.patch"; sha256 = "53poWjZfwq/6l316sqiCp0AtcGweyXBntcLDFPSokHQ=";

# Most of the libraries are auto-detected so we don't need to set a bunch of # "--enable-foo" flags here configureFlags = [ <del> "--with-kde-solid=$out/share/apps/solid/actions" </del> "--enable-srt" # Explicit enable srt to ensure the patch is applied. <ins> "--with-kde-solid=$out/share/apps/solid/actions" </ins> ] ++ optional onlyLibVLC "--disable-vlc" ++ optional skins2Support "--enable-skins2" ++ optionals chromecastSupport [

description = "Cross-platform media player and streaming server"; homepage = "http://www.videolan.org/vlc/"; license = licenses.lgpl21Plus; <ins> maintainers = with maintainers; [ AndersonTorres ]; </ins> platforms = platforms.linux; }; }

vkeybd = callPackage ../applications/audio/vkeybd {}; <del> vlc = libsForQt5.callPackage ../applications/video/vlc {}; </del> <ins> vlc = libsForQt5.callPackage ../applications/video/vlc { # Newest libcaca changed the API, and libvlc didn't catch it. Until next # version arrives, it is safer to disable it. # Upstream thread: https://code.videolan.org/videolan/vlc/-/issues/26389 libcaca = null; }; </ins> vlc_qt5 = vlc;