gnu: Add collectl.

* gnu/packages/admin.scm (collectl): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Reviewed-by: phodina <phodina@protonmail.com>
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I9064f85651f14d7c992d616eaa6cfa1c9b16c993
This commit is contained in:
Roel Janssen 2021-11-05 06:05:51 +00:00 committed by Sharlatan Hellseher
parent 729bfe3689
commit f5aa303cc0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -44,6 +44,7 @@
;;; Copyright © 2021 WinterHound <winterhound@yandex.com>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2021, 2025 muradm <mail@muradm.net>
;;; Copyright © 2021 pineapples <guixuser6392@protonmail.com>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
@ -693,6 +694,45 @@ environments:
@end itemize")
(license license:gpl3)))
(define-public collectl
(package
(name "collectl")
(version "4.3.1")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://sourceforge/collectl/collectl/collectl-" version
"/collectl-" version ".src.tar.gz"))
(sha256
(base32 "1wc9k3rmhqzh6cx5dcpqhlc3xcpadsn2ic54r19scdjbjx6jd1r1"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ; There are no tests.
#:phases
#~(modify-phases %standard-phases
(delete 'build) ; There's nothing to build.
(replace 'configure
(lambda _
(substitute* "INSTALL"
(("DESTDIR:=\"/\"") (format #f "DESTDIR:=~s" #$output))
(("DESTDIR/usr") "DESTDIR"))))
(replace 'install
(lambda _
(substitute* "collectl"
(("\\$configFile='';")
(string-append "$configFile='" #$output "/etc';")))
(invoke "./INSTALL"))))))
(inputs
(list perl))
(home-page "http://collectl.sourceforge.net")
(synopsis "Performance data collector")
(description
"This package provides a program that collects various performance
measurement data like CPU, memory, disk and network performance numbers.")
(license license:artistic2.0)))
(define-public daemontools
(package
(name "daemontools")