unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57940] [PATCH] gnu: Add btop.
@ 2022-09-19 17:56 phodina via Guix-patches via
  2022-09-19 18:18 ` Maxime Devos
  0 siblings, 1 reply; 3+ messages in thread
From: phodina via Guix-patches via @ 2022-09-19 17:56 UTC (permalink / raw)
  To: 57940


[-- 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#57940] [PATCH] gnu: Add btop.
  2022-09-19 17:56 [bug#57940] [PATCH] gnu: Add btop phodina via Guix-patches via
@ 2022-09-19 18:18 ` Maxime Devos
  2022-09-28 19:16   ` bug#57940: " Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Devos @ 2022-09-19 18:18 UTC (permalink / raw)
  To: phodina, 57940


[-- Attachment #1.1.1: Type: text/plain, Size: 150 bytes --]

merge 54974 57940 57271
thanks

Duplicate of <https://issues.guix.gnu.org/54974>, please reply to 
54974@debbugs.gnu.org.

Greetings,
MAxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57940: [PATCH] gnu: Add btop.
  2022-09-19 18:18 ` Maxime Devos
@ 2022-09-28 19:16   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2022-09-28 19:16 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 57940-done, phodina, 54974-done

Hi,

Maxime Devos <maximedevos@telenet.be> writes:

> merge 54974 57940 57271
> thanks
>
> Duplicate of <https://issues.guix.gnu.org/54974>, please reply to
> 54974@debbugs.gnu.org.

I committed this version, since it was easy to apply and had the most
modern style.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-28 19:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 17:56 [bug#57940] [PATCH] gnu: Add btop phodina via Guix-patches via
2022-09-19 18:18 ` Maxime Devos
2022-09-28 19:16   ` bug#57940: " Maxim Cournoyer

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).