From patchwork Sat Apr 16 15:37:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wil deBeest X-Patchwork-Id: 1672 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0533D27BBE9; Sat, 16 Apr 2022 17:18:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EBE1527BBEA for ; Sat, 16 Apr 2022 17:18:17 +0100 (BST) Received: from localhost ([::1]:33974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfl7p-0006CD-2r for patchwork@mira.cbaines.net; Sat, 16 Apr 2022 12:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfl7b-0006C1-44 for guix-patches@gnu.org; Sat, 16 Apr 2022 12:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfl7Z-0001qn-TA for guix-patches@gnu.org; Sat, 16 Apr 2022 12:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfl7Z-0008S3-OX for guix-patches@gnu.org; Sat, 16 Apr 2022 12:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54974] [PATCH] added btop Resent-From: Wil deBeest Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Apr 2022 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54974@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165012585932455 (code B ref -1); Sat, 16 Apr 2022 16:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2022 16:17:39 +0000 Received: from localhost ([127.0.0.1]:34155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfl7B-0008RM-1T for submit@debbugs.gnu.org; Sat, 16 Apr 2022 12:17:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:36404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfkf3-0007kG-O9 for submit@debbugs.gnu.org; Sat, 16 Apr 2022 11:48:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfkf3-0004CC-HM for guix-patches@gnu.org; Sat, 16 Apr 2022 11:48:33 -0400 Received: from mail.4tii.de ([178.254.9.173]:52104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfkew-00067E-Jy for guix-patches@gnu.org; Sat, 16 Apr 2022 11:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4tii.de; s=mail; t=1650124103; bh=hLKEPYF4988K0Jk3iHoMdOcSZLmEx2SL2tx1hfzN0e4=; h=From:Subject:Date:To; b=SKtHzBD+JCQdO9jrHR9d/ue9eORtw4zUwlm6vZfDPANU5pBjRy/tJFAEyB9VkDEQx evAYpRpL5Pocao/eIg6yZn+pSsuqkf9fsEWzORRtubjBtqCISE1H8n2pOcG7GkVnag UBg1rCrj872IpdEl/PsGAx8Bn6gKQBkvDp58UVmw= From: Wil deBeest Mime-Version: 1.0 (1.0) Message-Id: <3D9386AF-4BB9-4C79-B170-A6A2AEC13728@4tii.de> Date: Sat, 16 Apr 2022 17:37:55 +0200 Received-SPF: pass client-ip=178.254.9.173; envelope-from=bovid-19@4tii.de; helo=mail.4tii.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 16 Apr 2022 12:17:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches  --- gnu/packages/admin.scm | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) base-commit: 20645d8467852990413c1ea9cf81cec82d23defd diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 1db04adf71..68f09cdbf9 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -730,6 +730,58 @@ (define-public bpytop memory, disks, network and processes. It's a Python port and continuation of @command{bashtop}.") (license license:asl2.0))) +(define-public btop + (package + (name "btop") + (version "1.2.5") + (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 + "1v0lj296bzwgs29hv9z3r82fwmibiqgsvsqqh2fimxs0jmld7c2v")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) ;; not provided + (delete 'check) ;; not provided + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append + (assoc-ref outputs "out")"/bin"))) + (install-file "bin/btop" bin))))))) + (home-page "https://github.com/aristocratos/btop") + (synopsis "Resource monitor for processor, memory, disks, network and processes") + (description "Resource monitor that shows usage and stats +for processor, memory, disks, network and processes. + +C++ version and continuation of bashtop and bpytop. + +Features + + Easy to use, with a game inspired menu system. + Full mouse support, all buttons with a highlighted key is clickable + and mouse scroll works in process list and menu boxes. + Fast and responsive UI with UP, DOWN keys process selection. + Function for showing detailed stats for selected process. + Ability to filter processes. + Easy switching between sorting options. + Tree view of processes. + Send any signal to selected process. + UI menu for changing all config file options. + Auto scaling graph for network usage. + Shows IO activity and speeds for disks + Battery meter + Selectable symbols for the graphs + Custom presets + And more... +") + (license license:asl2.0))) (define-public pies (package