{
  mkDerivation, lib,
  extra-cmake-modules, kdoctools,
  kcompletion, kconfig, kconfigwidgets, kcoreaddons, kiconthemes, kio,
  kitemviews, kplotting, ktextwidgets, kwidgetsaddons, kxmlgui, qttools, sonnet,
}:

mkDerivation {
  name = "kdesignerplugin";
  meta = { maintainers = [ lib.maintainers.ttuegel ]; };
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kcompletion kconfig kconfigwidgets kcoreaddons kiconthemes kio kitemviews
    kplotting ktextwidgets kwidgetsaddons kxmlgui sonnet
  ];
  propagatedBuildInputs = [ qttools ];
}