~ruther/guix-local

f5aa303cc09b266e33db37beb6e6b7b6af79b870 — Roel Janssen 4 years ago 729bfe3
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
1 files changed, 40 insertions(+), 0 deletions(-)

M gnu/packages/admin.scm
M gnu/packages/admin.scm => gnu/packages/admin.scm +40 -0
@@ 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")