2020-07-06 14:00:00 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, mkDerivation
|
|
|
|
, qtbase
|
|
|
|
, cmake
|
|
|
|
, kconfig
|
|
|
|
, kio
|
|
|
|
, kiconthemes
|
|
|
|
, kxmlgui
|
|
|
|
, ki18n
|
|
|
|
, kguiaddons
|
|
|
|
, extra-cmake-modules
|
|
|
|
, boost
|
|
|
|
, shared-mime-info
|
|
|
|
, rrdtool
|
|
|
|
, breeze-icons
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kcollectd";
|
2021-01-19 15:33:36 +01:00
|
|
|
version = "0.12.0";
|
2020-07-06 14:00:00 +02:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "aerusso";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-01-19 15:33:36 +01:00
|
|
|
sha256 = "sha256-Ihd4Ps4t9+sNB3joO3vTxDR/25t7Ecl6yvHQ15QiUdY=";
|
2020-07-06 14:00:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
shared-mime-info
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
kconfig
|
|
|
|
kio
|
|
|
|
kxmlgui
|
|
|
|
kiconthemes
|
|
|
|
ki18n
|
|
|
|
kguiaddons
|
|
|
|
boost
|
|
|
|
rrdtool
|
|
|
|
# otherwise some buttons are blank
|
|
|
|
breeze-icons
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A graphical frontend to collectd";
|
|
|
|
homepage = "https://www.antonioerusso.com/projects/kcollectd/";
|
|
|
|
maintainers = [ maintainers.symphorien ];
|
|
|
|
license = [ lib.licenses.gpl3Plus ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|