From patchwork Thu Aug 18 08:09:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 41754 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 44CEA27BBEB; Thu, 18 Aug 2022 09:11:49 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 D063527BBE9 for ; Thu, 18 Aug 2022 09:11:48 +0100 (BST) Received: from localhost ([::1]:36116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOacx-0004mY-0X for patchwork@mira.cbaines.net; Thu, 18 Aug 2022 04:11:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOacI-0004ih-9M for guix-patches@gnu.org; Thu, 18 Aug 2022 04:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOacH-0005xN-Vi for guix-patches@gnu.org; Thu, 18 Aug 2022 04:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOacH-0005uh-Ni for guix-patches@gnu.org; Thu, 18 Aug 2022 04:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57271] [PATCH] gnu: Add btop v1.2.8. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Aug 2022 08:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57271 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57271@debbugs.gnu.org Cc: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166081022722678 (code B ref -1); Thu, 18 Aug 2022 08:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 08:10:27 +0000 Received: from localhost ([127.0.0.1]:53656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOabT-0005tB-Sp for submit@debbugs.gnu.org; Thu, 18 Aug 2022 04:10:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:34920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOabN-0005sz-Ol for submit@debbugs.gnu.org; Thu, 18 Aug 2022 04:10:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOabN-0004Q9-IC for guix-patches@gnu.org; Thu, 18 Aug 2022 04:10:05 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:53403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOabL-0005Ur-1z for guix-patches@gnu.org; Thu, 18 Aug 2022 04:10:05 -0400 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id 7B7FD200006; Thu, 18 Aug 2022 08:09:57 +0000 (UTC) From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Thu, 18 Aug 2022 10:09:54 +0200 Message-Id: <20220818080954.3718690-1-contact@phfrohring.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.178.232; envelope-from=contact@phfrohring.com; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (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)))