diff options
author | Roel Janssen <roel@gnu.org> | 2021-11-05 06:05:51 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-11 21:21:28 +0000 |
commit | f5aa303cc09b266e33db37beb6e6b7b6af79b870 (patch) | |
tree | 9b9c5f143079758307d394b68297ade0b50c76d6 | |
parent | 729bfe368973f57a88ab132c23ca103a58bee78a (diff) |
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
-rw-r--r-- | gnu/packages/admin.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 54df5aa5c2..a34894111d 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -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") |