{
  mkDerivation,
  extra-cmake-modules, qttools,
  attica, kconfig, kconfigwidgets, kglobalaccel, ki18n, kiconthemes, kitemviews,
  ktextwidgets, kwindowsystem, qtbase, sonnet,
}:

mkDerivation {
  pname = "kxmlgui";
  nativeBuildInputs = [ extra-cmake-modules ];
  buildInputs = [
    attica kglobalaccel ki18n kiconthemes kitemviews ktextwidgets kwindowsystem
    sonnet
  ];
  propagatedBuildInputs = [ kconfig kconfigwidgets qtbase qttools ];
}