{
  mkKdeDerivation,
  pkg-config,
  libksysguard,
  networkmanager-qt,
  lm_sensors,
  libnl,
}:
mkKdeDerivation {
  pname = "ksystemstats";

  extraNativeBuildInputs = [pkg-config];
  extraBuildInputs = [networkmanager-qt lm_sensors libnl];

  cmakeFlags = ["-DSYSTEMSTATS_DBUS_INTERFACE=${libksysguard}/share/dbus-1/interfaces/org.kde.ksystemstats1.xml"];
}
