{ mkDerivation, lib
, extra-cmake-modules
, cmake
, kdbusaddons
, ki18n
, kconfigwidgets
, kcrash
, kxmlgui
, libkdegames
}:

mkDerivation {
  pname = "kspaceduel";
  meta.license = with lib.licenses; [ lgpl21 gpl3 ];
  outputs = [ "out" "dev" ];
  nativeBuildInputs = [
    cmake extra-cmake-modules
  ];
  propagatedBuildInputs = [
    kdbusaddons ki18n kconfigwidgets kcrash kxmlgui libkdegames
  ];
}