From patchwork Thu Apr 28 23:17:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wil deBeest X-Patchwork-Id: 38997 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 0761927BBEA; Fri, 29 Apr 2022 00:20:15 +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 9B8BD27BBE9 for ; Fri, 29 Apr 2022 00:20:14 +0100 (BST) Received: from localhost ([::1]:55058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkDQj-0002X6-O3 for patchwork@mira.cbaines.net; Thu, 28 Apr 2022 19:20:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkDOc-0007mO-AU for guix-patches@gnu.org; Thu, 28 Apr 2022 19:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkDOb-0007ni-TV for guix-patches@gnu.org; Thu, 28 Apr 2022 19:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkDOb-0006ZD-M8 for guix-patches@gnu.org; Thu, 28 Apr 2022 19:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54974] [PATCH] added btop References: <3D9386AF-4BB9-4C79-B170-A6A2AEC13728@4tii.de> In-Reply-To: <3D9386AF-4BB9-4C79-B170-A6A2AEC13728@4tii.de> Resent-From: Wil deBeest Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Apr 2022 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54974@debbugs.gnu.org, Greg Hogan Received: via spool by 54974-submit@debbugs.gnu.org id=B54974.165118787525230 (code B ref 54974); Thu, 28 Apr 2022 23:18:01 +0000 Received: (at 54974) by debbugs.gnu.org; 28 Apr 2022 23:17:55 +0000 Received: from localhost ([127.0.0.1]:50297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkDOU-0006Yr-Bn for submit@debbugs.gnu.org; Thu, 28 Apr 2022 19:17:54 -0400 Received: from mail.4tii.de ([178.254.9.173]:35380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkDOS-0006Ya-UT for 54974@debbugs.gnu.org; Thu, 28 Apr 2022 19:17:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4tii.de; s=mail; t=1651187866; bh=2IAiCb1T7HiPUB8OR/BUVNLud5Ak/aQnV++JOlZshJI=; h=From:Subject:Date:Cc:To; b=AzCGJk+iNbevhWs59ooTH/B6oNedEWkaaUdtBdKeGl+LgDobDT9AGGzrJYZLp8vWe UMxpk0PXw9LTQ42WxukUndQsWvubqIeSQQPU/+LHaFKmO0i/7zyJRWMCwCUOzFsr4W 1sJVDUSm3hoy0UpgmZeiHPAXLaVchDiXcjaHMulg= From: Wil deBeest Mime-Version: 1.0 (1.0) Message-Id: <32AB7591-1B34-4AA9-B503-5CAFBCE10D60@4tii.de> Date: Fri, 29 Apr 2022 01:17:44 +0200 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 Hi Maxime, > Long term, %outputs, %build-inputs, ... are being phased out, so I'd go > with, so I'd go with > > (arguments (list #:make-flags #~(string-append "PREFIX=" #$output))) > > here instead. I haven't been able to integrate your snippet into the package. Could you show me how to do so or tell me which part of the handbook would be relevant? > can 'bashtop' and 'bpytop' be removed now? (Using > '(deprecated-package ...) for a smooth transition). The projects are all by the same developer and bashtop hasn't changed in two years, so the assumption that the rewrites supersede the older implementations doesn't seem farfetched. > What's an UP and DOWN key? I just have a regular up and down keys but > no fancy uppercase UP and DOWN keys ... > [...] > It's a list, so you can use the Texinfo markup @itemize, @item and @end > itemize here. It's also leaning a bit towards marketing talk with the > ‘and more ...’ and rather subjective ‘fast and responsive UI’, ... That was just copy & paste, I had forgotten about cut ;) Cheers Wil |--------------------------| | [PATCH] added btop 1.2.6 | |--------------------------| --- gnu/packages/admin.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) base-commit: 882cacc1bb5be0df334dd7ce55b385a3a1678728 diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index a200050d97..7b2e9660e1 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -752,6 +752,36 @@ (define-public bpytop @command{bashtop}.") (license license:asl2.0))) +(define-public btop + (package + (name "btop") + (version "1.2.6") + (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 + "03nd34q1w01visd2bg7mxrcjn0s6lnbm4s0vsfsj2mfv1rvyjl5b")))) + (build-system gnu-build-system) + (arguments + `(#: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))) + (define-public pies (package (name "pies")