about summary refs log tree commit diff
path: root/pkgs/tools/misc/kcollectd
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2020-07-06 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2020-12-29 14:37:15 +0100
commit7e90346e1605cf24ac26f9a6d0cdfae1f1f667eb (patch)
tree87df475b66409bd632370cddbae2c83ff11f630d /pkgs/tools/misc/kcollectd
parent6f0c00907bbd81b47052eef59f7b284926a77289 (diff)
kcollectd: init at 0.11.99.0
Co-authored-by: davidak <davidak@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/misc/kcollectd')
-rw-r--r--pkgs/tools/misc/kcollectd/default.nix56
1 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/tools/misc/kcollectd/default.nix b/pkgs/tools/misc/kcollectd/default.nix
new file mode 100644
index 0000000000000..ffc64b1455aa8
--- /dev/null
+++ b/pkgs/tools/misc/kcollectd/default.nix
@@ -0,0 +1,56 @@
+{ 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";
+  version = "0.11.99.0";
+  src = fetchFromGitLab {
+    owner = "aerusso";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0h4ymvzihzbmyv3z0bp28g94wxc6c7lgi3my0xbka3advxr811gn";
+  };
+
+  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;
+  };
+}