{
  mkDerivation, lib, extra-cmake-modules, kdoctools, shared-mime-info,
  exiv2, kactivities, karchive, kbookmarks, kconfig, kconfigwidgets,
  kcoreaddons, kdbusaddons, kguiaddons, kdnssd, kiconthemes, ki18n, kio, khtml,
  kdelibs4support, kpty, libmtp, libssh, openexr, ilmbase, openslp, phonon,
  qtsvg, samba, solid
}:

mkDerivation {
  name = "kio-extras";
  meta = {
    license = with lib.licenses; [ gpl2 lgpl21 ];
    maintainers = [ lib.maintainers.ttuegel ];
  };
  nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ];
  buildInputs = [
    exiv2 kactivities karchive kbookmarks kconfig kconfigwidgets kcoreaddons
    kdbusaddons kguiaddons kdnssd kiconthemes ki18n kio khtml kdelibs4support
    kpty libmtp libssh openexr openslp phonon qtsvg samba solid
  ];
  CXXFLAGS = [ "-I${ilmbase.dev}/include/OpenEXR" ];
}