aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-10-08 22:29:13 +0100
committerChristopher Baines <mail@cbaines.net>2018-10-08 22:29:13 +0100
commit7413e02281c8538ed0f4317b3f4242da4ef057f8 (patch)
tree2c83c85b2fc3a42500d5471c5f11141d4241720e
parentff594d992410776f3a2b2bb9500544be930c4559 (diff)
downloadguix-7413e02281c8538ed0f4317b3f4242da4ef057f8.tar
guix-7413e02281c8538ed0f4317b3f4242da4ef057f8.tar.gz
gnu: Add nagstamon.nagstamon
* gnu/packages/monitoring.scm (nagstamon): New variable.
-rw-r--r--gnu/packages/monitoring.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 12d736a76a..4e19df4c07 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -46,7 +46,9 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages time)
#:use-module (gnu packages tls))
@@ -146,6 +148,41 @@ etc. via a Web interface. Features include:
@end itemize\n")
(license license:gpl2)))
+(define-public nagstamon
+ (package
+ (name "nagstamon")
+ (version "3.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "17bgcjy1bjysipr5y2maws062ayklxbj9xj0hpn8i3xdqjrzpsd6"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "setup.py"
+ (("sys\\.prefix")
+ (string-append "'" (assoc-ref outputs "out") "'"))))))))
+ (inputs
+ `(("python-keyring" ,python-keyring)
+ ("python-beautifulsoup4" ,python-beautifulsoup4)
+ ("python-psutil" ,python-psutil)
+ ("python-requests" ,python-requests)
+ ("python-pyqt" ,python-pyqt)
+ ("python-requests-kerberos" ,python-requests-kerberos)))
+ (home-page "")
+ (synopsis "")
+ (description "")
+ (license #f)))
+
(define-public zabbix-agentd
(package
(name "zabbix-agentd")