From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Z9k3B6ciLGDnfQAA0tVLHw (envelope-from ) for ; Tue, 16 Feb 2021 19:53:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QFtnAqciLGDVdQAAbx9fmQ (envelope-from ) for ; Tue, 16 Feb 2021 19:53:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BBE352B899 for ; Tue, 16 Feb 2021 20:53:10 +0100 (CET) Received: from localhost ([::1]:41178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC6PF-0004rH-Vl for larch@yhetil.org; Tue, 16 Feb 2021 14:53:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC6P8-0004qo-MP for guix-patches@gnu.org; Tue, 16 Feb 2021 14:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lC6P8-0001iP-Ev for guix-patches@gnu.org; Tue, 16 Feb 2021 14:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lC6P8-0002Zf-DC for guix-patches@gnu.org; Tue, 16 Feb 2021 14:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46541] [PATCH] gnu: Add ttyload. Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Feb 2021 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 46541@debbugs.gnu.org Received: via spool by 46541-submit@debbugs.gnu.org id=B46541.16135051639870 (code B ref 46541); Tue, 16 Feb 2021 19:53:02 +0000 Received: (at 46541) by debbugs.gnu.org; 16 Feb 2021 19:52:43 +0000 Received: from localhost ([127.0.0.1]:41653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC6Oo-0002Z8-Mv for submit@debbugs.gnu.org; Tue, 16 Feb 2021 14:52:42 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:39812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC6Om-0002Yx-7s for 46541@debbugs.gnu.org; Tue, 16 Feb 2021 14:52:41 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id C3B905D40200; Tue, 16 Feb 2021 20:52:37 +0100 (CET) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= In-Reply-To: ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Tue, 16 Feb 2021 16:32:29 +0800") References: <20210215192825.47358-1-stefan@xsteve.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Tue, 16 Feb 2021 20:52:35 +0100 Message-ID: <877dn7n62k.fsf@xsteve.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BBE352B899 X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: o6j5UwaHngZu --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi =E5=AE=8B=E6=96=87=E6=AD=A6, thanks for reviewing my patch. I hope that I do the correct thing in replying to this message (I have never done this before ;-)) Stefan. > Hello! > > Stefan Reich=C3=B6r writes: >> [...] >> * gnu/packages/admin.scm (ttyload): New variable. >> + (home-page "https://www.daveltd.com/src/util/ttyload/") >> + (synopsis "Console based color-coded graphs of CPU load average") >> + (description >> + "Show graphs for 1 minute, 5 minute, 15 minute load averages on = the console.") > Better limit lines under 80 characters. > >> + (license license:expat)))) > It's a modified "ISC License", I think it should be (fsf-free "file://LIC= ENSE"). --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=gnu-add-ttyload.patch Content-Transfer-Encoding: quoted-printable gnu: Add ttyload. From: Stefan Reich=C3=B6r * gnu/packages/admin.scm (ttyload): New variable. --- gnu/packages/admin.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 77386d6033..f2cf28367f 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -36,6 +36,7 @@ ;;; Copyright =C2=A9 2020 Vincent Legoll ;;; Copyright =C2=A9 2020 Morgan Smith ;;; Copyright =C2=A9 2021 Zheng Junjie <873216071@qq.com> +;;; Copyright =C2=A9 2021 Stefan Reich=C3=B6r ;;; ;;; This file is part of GNU Guix. ;;; @@ -527,6 +528,41 @@ or via the @code{facter} Ruby library.") (home-page "https://github.com/puppetlabs/facter-ng") (license license:expat))) =20 +(define-public ttyload + (let ((revision "1") + (commit "f9495372801ce4b4dad98ad854203e694c31c1eb")) + (package + (name "ttyload") + (version (git-version "0.5.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lindes/ttyload") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ldb7a13b9v876c6cbrs78pkizj64drnqx95z5shfbwgpwfhr4im"))= )) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=3D" ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "ttyload" bin))))))) + (home-page "https://www.daveltd.com/src/util/ttyload/") + (synopsis "Console based color-coded graphs of CPU load average") + (description + "Show graphs for 1 minute, 5 minute, 15 minute load averages on the +console.") + (license (license:fsf-free "file://LICENSE"))))) + (define-public htop (package (name "htop") --=-=-=--