From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kFTEBqFiXWS4RQEASxT56A (envelope-from ) for ; Thu, 11 May 2023 23:48:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6HKFBqFiXWRhBAAAauVa8A (envelope-from ) for ; Thu, 11 May 2023 23:48:17 +0200 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 9A8B538BEB for ; Thu, 11 May 2023 23:48:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxE8q-0002Bb-Cp; Thu, 11 May 2023 17:48:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxE8p-0002BT-E0 for guix-patches@gnu.org; Thu, 11 May 2023 17:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxE8p-0005pb-5u for guix-patches@gnu.org; Thu, 11 May 2023 17:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxE8o-0000lK-LY for guix-patches@gnu.org; Thu, 11 May 2023 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63454] [PATCH] gnu: Add tmux-plugin-mem-cpu-load. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 May 2023 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63454@debbugs.gnu.org Cc: Greg Hogan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16838416452761 (code B ref -1); Thu, 11 May 2023 21:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2023 21:47:25 +0000 Received: from localhost ([127.0.0.1]:53584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxE8D-0000iT-4f for submit@debbugs.gnu.org; Thu, 11 May 2023 17:47:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:47486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxE8A-0000iL-QF for submit@debbugs.gnu.org; Thu, 11 May 2023 17:47:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxE8A-00029x-AL for guix-patches@gnu.org; Thu, 11 May 2023 17:47:22 -0400 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxE88-0005ly-Fo for guix-patches@gnu.org; Thu, 11 May 2023 17:47:22 -0400 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-55a214572e8so141132937b3.0 for ; Thu, 11 May 2023 14:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20221208.gappssmtp.com; s=20221208; t=1683841639; x=1686433639; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2o963T5SlsT9UabCH2nS4L2+A7kdXnjl5p/9bmwQKY0=; b=2UYSgS1uL1+vHgu8MCC7yM0zIBde4x3ojOPpIFcqIKPNYPWrAyOT2nk9/Bq7CwJu4b +GqORYliZ0QeyymhBn8vEaha3U1PD66l/GiFRAkygfPRuoY/+JlaaUDoWEqHyjB4lKR6 yNN8HY3X8Sszm4zgUqyUTmyvfynMzDo+tJOtL5qlt4yHzaqX4PzMKv/gTutB8v3lSi9G HycZrpj9VIfhplJrkQ9iFnjBlMn+8ri8MdR6mi4x3fmEZWbJr4Tj92UN15Ox1cl2yoRw LlHjQ8i3zOYnFSSBd74fRRcBPoIDRmtzo+s7k9GW/E57B3IaC3DJqx7EHCOmEvk/MCfH tLZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683841639; x=1686433639; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2o963T5SlsT9UabCH2nS4L2+A7kdXnjl5p/9bmwQKY0=; b=WY1LZhkUfdl91qdt/mi0/YSGxJmXaLxYV4h384euuf3tMOcZy0IlsTNPjSrPb98m+v Nmot+1phPWTgcFqaNztB4Yq0huVrtTSV0Y6rG4LlfsiUZHb6e0gRu0N1o0DtLPHuWM0s NCdX4Xl6dg+nNy0HWsoqtNECyXEb3wAZiHsnZAhCpEUS5YspA+EBpr3mkxNBe7ysiVkH 1EgZsqnO6PyDn+osglrQ65dTV+i+wZntQ51YZ8bA6v61ctRRMqZHMaAJZvvPEvDitB8k AD0/hL25mYOMyyv9S4a4B9ErniPQFs01qulin43K2BBAT8QkV8GhgmklSghOJT1LD15u BYfQ== X-Gm-Message-State: AC+VfDy2+D9gd3oTHP2mOprmikETvs/Fb8OCgzsUWxjUeVKJ8Ws0F37k tIOCzpg9NzLnNDlIfmI/RQ374AA8Duw/vE/s6bw= X-Google-Smtp-Source: ACHHUZ7BUFIBv9OKPjdJnKw7RTlIezHj7L5lkwO3VWdHxLObThmWZ7KDUeAVLT/4hwwjdE5pe5NT8A== X-Received: by 2002:a81:6c42:0:b0:55a:1022:7814 with SMTP id h63-20020a816c42000000b0055a10227814mr24150527ywc.28.1683841639027; Thu, 11 May 2023 14:47:19 -0700 (PDT) Received: from ip-172-31-16-142.us-east-2.compute.internal (ec2-18-117-196-55.us-east-2.compute.amazonaws.com. [18.117.196.55]) by smtp.gmail.com with ESMTPSA id c64-20020a0df343000000b0055aafcef659sm5236795ywf.5.2023.05.11.14.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 14:47:18 -0700 (PDT) From: Greg Hogan Date: Thu, 11 May 2023 21:47:15 +0000 Message-Id: <20230511214715.1106253-1-code@greghogan.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::1134; envelope-from=code@greghogan.com; helo=mail-yw1-x1134.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683841697; a=rsa-sha256; cv=none; b=bCMa/9GHM5t/2cTElBa3grqW9yNjaGusWRt9Pn9vCrweZ7Ikv5fhBBvsV6FLi2y59gu9WS WY0aMBgupRoUiEb+kxdX7IYMMIEpwzBwp9OTOF2MyDOIoeFy7A5pGUZvqvT9jeDYlk8/UM Db5P0Pez7fB9Idpe6aoBP/ymMV7mVbWWjYeoGikCMNbUNiOdxz7yvI52hcLZyx6uQYvtZ2 8386SuuYbq4tBzgFqGpXaSKOvf6WkX5LUUzmJaFD6ig7Z3OSQmwhAkZPXLUyGaCYQdrjEZ NB6A7DMh18y7rnqnFFkwhs3k8SUjiZaDEewbkl5/dFujJ0d5mRUmEwrZ/WnqeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20221208.gappssmtp.com header.s=20221208 header.b=2UYSgS1u; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683841697; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2o963T5SlsT9UabCH2nS4L2+A7kdXnjl5p/9bmwQKY0=; b=h2+AhfvEq6RBOjvz6MBnGOjIz6uSpv0ykZDzKBKjwb2zxCqE7o5xdn4tuMjdRRP3DrJzhz ftkXms6Uf6P2LqqbXrTNvKN821ogWNQZjcds6KdvjhFvQZ4vfmLofFc1ZpOc1SjFhqzScl sjr1zvNDEvLzljRDczuFNYKHspnN6yD6/hSXCWrf2eKiwwGzEUE4ArBfHyw2rELZqZrQ1+ pSBby/qNLLZaAAaFUUlliyfJh2/KIyqbKQ6PVoRrhX9UkL4e8j99YnKYb1z8LDhtJ/oLFG yCUjn+Nu1DuiancCLAbQuxYLVXagFdwE7qW5fSLDRW2E8sOSXFgtZfN+o8bjQg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20221208.gappssmtp.com header.s=20221208 header.b=2UYSgS1u; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.12 X-Spam-Score: 2.12 X-Migadu-Queue-Id: 9A8B538BEB X-TUID: 61Jmjy/UOczx * gnu/packages/tmux.scm (tmux-plugin-mem-cpu-load): New variable. --- gnu/packages/tmux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm index ec6bf78559..a0c877b795 100644 --- a/gnu/packages/tmux.scm +++ b/gnu/packages/tmux.scm @@ -30,6 +30,7 @@ (define-module (gnu packages tmux) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (guix build-system python) @@ -357,3 +358,30 @@ (define-public tmux-plugin-continuum left it off the last time it was used.") (home-page "https://github.com/tmux-plugins/tmux-continuum/") (license license:expat)))) + +(define-public tmux-plugin-mem-cpu-load + (package + (name "tmux-plugin-mem-cpu-load") + (version "3.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thewtex/tmux-mem-cpu-load") + (commit (string-append "v" version)))) + (sha256 + (base32 + "03bax7g9jlsci44ccs50drh617ya3fzvlplwyvxfyb7mgmh85r72")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (synopsis "CPU, RAM, and load monitor for use with tmux") + (description "A simple, lightweight program for system monitoring in the +status line of tmux. + +The memory monitor displays the used and available memory. + +The CPU usage monitor outputs a percent CPU usage over all processors. It also +displays a textual bar graph of the current percent usage. + +The system load average is also displayed.") + (home-page "https://github.com/thewtex/tmux-mem-cpu-load") + (license license:asl2.0))) -- 2.40.1