summaryrefslogtreecommitdiff
path: root/packages/kcollectd.scm
blob: f52230e1b38e1d352b9eb7022075662bf4344533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
(define-module (gnu packages kcollectd)
               #:use-module (guix packages)
               #:use-module (guix git-download)
               #:use-module (guix download)
               #:use-module (guix build-system cmake)
               #:use-module (gnu packages)
               #:use-module (gnu packages boost)
               #:use-module (gnu packages rrdtool)
               #:use-module (gnu packages qt)
               #:use-module (gnu packages kde-frameworks)
               #:use-module (gnu packages gnome)
               #:use-module (gnu packages gcc)
               #:use-module ((guix licenses) #:prefix license:)
               )


(define-public kcollectd
               (package
                 (name "kcollectd")
                 (version "v0.11.0-2020-02-23")
                 (source (origin
                           (method git-fetch)
                           (uri (git-reference
                                  (url "https://gitlab.com/aerusso/kcollectd.git")
                                  (commit "07dc4668d9ed410540528127dffa9f1b7ce28ac5")))
                           (sha256
                             (base32 "1bh296mvk3js1qi1af9dwpsbh3ck4981rvxfcvk8a62wq767k0hz"))
                           (patches
                             (search-patches
                               "kcollectd_add_path_argument.patch"
                               "kcollectd_use_splitter.patch")
                             )
                           )
                         )
                 (build-system cmake-build-system)
                 (native-inputs
                   `(
                     ("gcc10" ,gcc-10)
                     ))
                 (inputs
                   `(
                     ("boost" ,boost)
                     ("qtbase" ,qtbase)
                     ("rrdtool" ,rrdtool)
                     ("kwidgetsaddons" ,kwidgetsaddons)
                     ("kio" ,kio)
                     ("kiconthemes" ,kiconthemes)
                     ("kxmlgui" ,kxmlgui)
                     ("ki18n" ,ki18n)
                     ("kguiaddons" ,kguiaddons)
                     ("kdoctools" ,kdoctools)
                     ("kconfig" ,kconfig)
                     ("extra-cmake-modules" ,extra-cmake-modules)
                     ("shared-mime-info" ,shared-mime-info)
                     ))
                 (arguments
                   `(
                     #:configure-flags '("-DCMAKE_CXX_FLAGS=-std=c++14"
                                         )
                     #:make-flags '("CXXFLAGS=-std=c++14"
                                    )
                     )
                   )
                 (synopsis "kcollectd is a graphical front-end to collectd.")
                 (description "kcollectd is a graphical front-end to collectd, a data collection service that monitors, by polling or pushed updates, system information, such as temperature or free RAM. kcollectd provides a graphical display of these collected statistics. More generally, kcollectd can display the data stored in any round-robin database (RRD).")
                 (license (list
                            license:gpl3
                                ))
                 (home-page "https://www.antonioerusso.com/projects/kcollectd/")
                 ))
kcollectd