unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Pierre-Henry Fröhring" <contact@phfrohring.com>
To: 57271@debbugs.gnu.org
Cc: "Pierre-Henry Fröhring" <contact@phfrohring.com>
Subject: [bug#57271] [PATCH] gnu: Add btop v1.2.8.
Date: Thu, 18 Aug 2022 10:09:54 +0200	[thread overview]
Message-ID: <20220818080954.3718690-1-contact@phfrohring.com> (raw)

* gnu/packages/admin.scm (btop): New variable.
---
 gnu/packages/admin.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 35d3b53f24..47be60f983 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -95,6 +95,7 @@ (define-module (gnu packages admin)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages c)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-io)
@@ -5454,3 +5455,32 @@ (define-public fail2ban
 up services to use only two factor, or public/private authentication
 mechanisms if you really want to protect services.")
     (license license:gpl2+)))
+
+(define-public btop
+  (package
+    (name "btop")
+    (version "1.2.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/aristocratos/btop")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01vk64vf891a7hpv27mb4zld1rfzj13jl9rnhrs8h45wzxg4kqjz"))))
+    (native-inputs (list gcc-12))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags #~(list (string-append "PREFIX="
+                                               #$output))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'configure))
+           #:tests? #f))
+    (home-page "https://github.com/aristocratos/btop")
+    (synopsis "Resource monitor")
+    (description "Resource monitor that shows usage and stats
+for processor, memory, disks, network and processes.
+
+C++ version and continuation of bashtop and bpytop.")
+    (license license:asl2.0)))
-- 
2.37.1





             reply	other threads:[~2022-08-18  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18  8:09 Pierre-Henry Fröhring [this message]
2022-09-28 19:17 ` bug#57271: [PATCH] gnu: Add btop v1.2.8 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=20220818080954.3718690-1-contact@phfrohring.com \
    --to=contact@phfrohring.com \
    --cc=57271@debbugs.gnu.org \
    /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).