summaryrefslogtreecommitdiff
path: root/px/packages/monitoring.scm
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
committerFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
commit47b4c9c854915df93893dbaa993accfacf9027fe (patch)
tree4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/monitoring.scm
parent0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff)
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/monitoring.scm')
-rw-r--r--px/packages/monitoring.scm103
1 files changed, 45 insertions, 58 deletions
diff --git a/px/packages/monitoring.scm b/px/packages/monitoring.scm
index cd71373..1f5486c 100644
--- a/px/packages/monitoring.scm
+++ b/px/packages/monitoring.scm
@@ -1,8 +1,9 @@
-;;; Author: Fakhri Sajadi (f.sajadi@pantherx.org)
+;;; Fakhri Sajadi (f.sajadi@pantherx.org)
;;;
(define-module (px packages monitoring)
- #:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((guix licenses)
+ #:prefix license:)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
@@ -31,37 +32,29 @@
(name "monit")
(version "5.25.3")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://mmonit.com/monit/dist/monit-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0s8577ixcmx45b081yx6cw54iq7m5yzpq3ir616qc84xhg45h0n1"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://mmonit.com/monit/dist/monit-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "0s8577ixcmx45b081yx6cw54iq7m5yzpq3ir616qc84xhg45h0n1"))))
(build-system gnu-build-system)
(arguments
- `(
- #:configure-flags '("--without-pam" "--without-ssl")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-source
- (lambda _
- (invoke "ls" "-la")
- )))))
- (inputs `(
- ("zlib", zlib)))
+ `(#:configure-flags '("--without-pam" "--without-ssl")
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-source
+ (lambda _
+ (invoke "ls" "-la"))))))
+ (inputs `(("zlib" ,zlib)))
- (native-inputs `(
- ("autoconf", autoconf)
- ("automake", automake)
- ("libtool" ,libtool)
- ("pkg-config", pkg-config)
- ))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
(home-page "https://mmonit.com")
(synopsis "Pro-active Monitoring")
- (description "M/Monit can monitor and manage distributed computer systems, conduct automatic maintenance and repair and execute meaningful causal actions in error situations.")
+ (description
+ "M/Monit can monitor and manage distributed computer systems, conduct automatic maintenance and repair and execute meaningful causal actions in error situations.")
(license license:expat)))
(define-public px-org-remote-status-service
@@ -69,38 +62,32 @@
(name "px-org-remote-status-service")
(version "0.3.3")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/px-org-remote-status-service_v"
- version ".tgz"
- ))
- (sha256
- (base32
- "005n1vvsq25bm1axkhs1vvyzclgabqlkymzlsvjkci2bvv0iya89"))))
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://source.pantherx.org/px-org-remote-status-service_v"
+ version ".tgz"))
+ (sha256
+ (base32 "005n1vvsq25bm1axkhs1vvyzclgabqlkymzlsvjkci2bvv0iya89"))))
(build-system cmake-build-system)
(arguments
- `(
- #:tests? #f))
- (inputs
- `(("sqlite", sqlite)
- ("curl", curl)
- ("restclient-cpp", restclient-cpp)
- ("zlib", zlib)
- ("yaml-cpp", yaml-cpp)
- ("qtbase" ,qtbase-5)
- ("capnproto", capnproto)
- ("px-auth-library-cpp" ,px-auth-library-cpp)))
- (native-inputs
- `(("pkg-config", pkg-config)))
- (propagated-inputs
- `(("monit", monit)
- ("sysstat", sysstat)
- ("lshw", lshw)
- ("coreutils", coreutils)
- ("curl", curl)
- ("util-linux+udev", util-linux+udev)
- ("px-device-identity" ,px-device-identity)))
+ `(#:tests? #f))
+ (inputs `(("sqlite" ,sqlite)
+ ("curl" ,curl)
+ ("restclient-cpp" ,restclient-cpp)
+ ("zlib" ,zlib)
+ ("yaml-cpp" ,yaml-cpp)
+ ("qtbase" ,qtbase-5)
+ ("capnproto" ,capnproto)
+ ("px-auth-library-cpp" ,px-auth-library-cpp)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (propagated-inputs `(("monit" ,monit)
+ ("sysstat" ,sysstat)
+ ("lshw" ,lshw)
+ ("coreutils" ,coreutils)
+ ("curl" ,curl)
+ ("util-linux+udev" ,util-linux+udev)
+ ("px-device-identity" ,px-device-identity)))
(home-page "https://www.pantherx.org/")
(synopsis "PantherX Remote Status Monitoring Service")