From patchwork Mon Sep 19 17:56:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 42748 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 09BFA27BBEA; Mon, 19 Sep 2022 19:12:58 +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,FREEMAIL_FROM,HTML_MESSAGE,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 88ACC27BBE9 for ; Mon, 19 Sep 2022 19:12:57 +0100 (BST) Received: from localhost ([::1]:38068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaLGK-00085F-M7 for patchwork@mira.cbaines.net; Mon, 19 Sep 2022 14:12:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaL0w-0004Y3-Kt for guix-patches@gnu.org; Mon, 19 Sep 2022 13:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaL0w-00063J-Bd for guix-patches@gnu.org; Mon, 19 Sep 2022 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaL0w-0003uN-12 for guix-patches@gnu.org; Mon, 19 Sep 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57940] [PATCH] gnu: Add btop. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Sep 2022 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57940 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57940@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.166361019514985 (code B ref -1); Mon, 19 Sep 2022 17:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2022 17:56:35 +0000 Received: from localhost ([127.0.0.1]:55143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaL0V-0003tc-8s for submit@debbugs.gnu.org; Mon, 19 Sep 2022 13:56:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:50530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaL0T-0003tV-PD for submit@debbugs.gnu.org; Mon, 19 Sep 2022 13:56:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaL0T-0003V7-Fs for guix-patches@gnu.org; Mon, 19 Sep 2022 13:56:33 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:18245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaL0O-0005zn-SJ for guix-patches@gnu.org; Mon, 19 Sep 2022 13:56:31 -0400 Date: Mon, 19 Sep 2022 17:56:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1663610185; x=1663869385; bh=MvdW2xhXWQbAW4jWxtwjVpMHssajMbzdjmjqh1YPg70=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=H9Nx9y0OooKZv3oU7JxYLsm3Rskodt2VRF2fEJUwqrmOBqudjjA9opHOvMqEztBOp 8g1UBeszBjjTvkoauya9IavWFx5gcsAxu0CmTYV4FHN6JUjQXkKxrckb5kbdIJRyfe BBPBt5MLeKMp2vZM8vJnap4wVkBVbw+zBgJRb9+r5mpUZ5GgR+RwS6y7MJyDnF6Rx0 57gkbfaEnQJk1M94tnl1CmID+gAeoYz04536TTaBqNSdHcNlxQM1M2S6OGL4H4GurV NKeH3iJuiK0FTHwvj3qx9GnFCpImH+ixaPy7/+SB/suIdIS3bzWXKfXXfCzVTtcAUD /V3PXbgfxeRLQ== Message-ID: Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, This patch adds btop monitoring utility. ---- Petr From 80f0c2176c476c4385a3c8885ca1746bef0e6a81 Mon Sep 17 00:00:00 2001 From: Petr Hodina 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 ;;; Copyright © 2022 Wamm K. D. ;;; Copyright © 2022 Roman Riabenko +;;; Copyright © 2022 Petr Hodina ;;; ;;; 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