aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-19 19:52:27 +0200
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-28 15:15:15 -0400
commit3fb7add10fbe44c032155a19633c941abb737a63 (patch)
treeb6e145e6bf643b8fcb67fb8c3d31c21558386b50 /gnu/packages/admin.scm
parent7d27a5322c6177538049aef86b65bcb7353addab (diff)
downloadguix-3fb7add10fbe44c032155a19633c941abb737a63.tar
guix-3fb7add10fbe44c032155a19633c941abb737a63.tar.gz
gnu: Add btop.
* gnu/packages/admin.scm (btop): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 668d710739..7254ad366f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -51,6 +51,7 @@
;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
;;; Copyright © 2022 Roman Riabenko <roman@riabenko.com>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -697,6 +698,30 @@ console.")
;; This package uses a modified version of the "ISC License".
(license (license:non-copyleft "file://LICENSE")))))
+(define-public btop
+ (package
+ (name "btop")
+ (version "1.2.9")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/aristocratos/btop/archive/refs/tags/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0cb5q7hrb9y378i98km9s6jbi5c50i7wra8m8jik5hf4m4s3930g"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f ;no test suite
+ #:make-flags #~(list (string-append "PREFIX=" #$output))
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/aristocratos/btop")
+ (synopsis "Resource monitor")
+ (description "Btop++ provides unified monitoring of CPU, memory, network
+and processes.")
+ (license license:asl2.0)))
+
(define-public htop
(package
(name "htop")