From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 57940@debbugs.gnu.org
Subject: [bug#57940] [PATCH] gnu: Add btop.
Date: Mon, 19 Sep 2022 17:56:19 +0000 [thread overview]
Message-ID: <PDddLBHp035CMC4dAOWJmmlaHi_IQPVFo4vQX5s6ZHNtYwNZj9ZhbETAMSD-Bda_NeW2ZueIjcFmaP3DspxrgNYlM8PA1jPWJVt37O3Dtl4=@protonmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 56 bytes --]
Hi,
This patch adds btop monitoring utility.
----
Petr
[-- Attachment #1.2: Type: text/html, Size: 189 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-btop.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-btop.patch, Size: 1868 bytes --]
From 80f0c2176c476c4385a3c8885ca1746bef0e6a81 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Mon, 19 Sep 2022 19:52:27 +0200
Subject: [PATCH] gnu: Add btop.
* gnu/packages/admin.scm (btop): New variable.
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5fb621e027..3d3e8cac52 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,31 @@ (define-public ttyload
;; 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 "Provides unified monitoring of CPU, Memory, Network and
+Processes.")
+ (license license:asl2.0)))
+
(define-public htop
(package
(name "htop")
--
2.37.2
next reply other threads:[~2022-09-19 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-19 17:56 phodina via Guix-patches via [this message]
2022-09-19 18:18 ` [bug#57940] [PATCH] gnu: Add btop Maxime Devos
2022-09-28 19:16 ` bug#57940: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='PDddLBHp035CMC4dAOWJmmlaHi_IQPVFo4vQX5s6ZHNtYwNZj9ZhbETAMSD-Bda_NeW2ZueIjcFmaP3DspxrgNYlM8PA1jPWJVt37O3Dtl4=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=57940@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).