{
  mkDerivation, lib, kdepimTeam,
  extra-cmake-modules, shared-mime-info,
  akonadi-import-wizard, akonadi-notes, calendarsupport, eventviews,
  incidenceeditor, kcalcore, kcalutils, kconfig, kdbusaddons, kdeclarative,
  kdepim-apps-libs, kholidays, ki18n, kmime, ktexteditor, ktnef, libgravatar,
  libksieve, mailcommon, mailimporter, messagelib, poppler_qt5, prison
}:

mkDerivation {
  name = "kdepim-addons";
  meta = {
    license = with lib.licenses; [ gpl2Plus lgpl21Plus ];
    maintainers = kdepimTeam;
  };
  nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
  buildInputs = [
    akonadi-import-wizard akonadi-notes calendarsupport eventviews
    incidenceeditor kcalcore kcalutils kconfig kdbusaddons kdeclarative
    kdepim-apps-libs kholidays ki18n kmime ktexteditor ktnef libgravatar
    libksieve mailcommon mailimporter messagelib poppler_qt5 prison
  ];
}