From d756564db5ee46b27ef65d226d16dbb8354e424e Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Thu, 11 May 2023 21:47:15 +0000 Subject: gnu: Add tmux-plugin-mem-cpu-load. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/tmux.scm (tmux-plugin-mem-cpu-load): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/tmux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm index 67ce18fea1..55b7c7a498 100644 --- a/gnu/packages/tmux.scm +++ b/gnu/packages/tmux.scm @@ -30,6 +30,7 @@ #: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) @@ -317,3 +318,30 @@ Optional: @end itemize") (home-page "https://github.com/tmux-plugins/tmux-resurrect/") (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 "This package provides a 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))) -- cgit v1.2.3 sts?id=5495e880a6e1000a78c50f3cefa0c0b2ee8ee1c8'>tests/system.scm
AgeCommit message (Expand)Author
2018-06-21system: Mapped devices needed for boot do not yield Shepherd services....Fixes <https://bugs.gnu.org/31889>. Reported by Taylan Kammer <taylanbayirli@gmail.com>. * gnu/system.scm (non-boot-file-system-service)[mapped-devices-for-boot]: New variable. Remove dependencies of FS that are members of MAPPED-DEVICES-FOR-BOOT. (mapped-device-user): Rename to... (mapped-device-users): ... this. Use 'filter' instead of 'find'. (operating-system-user-mapped-devices) (operating-system-boot-mapped-devices): Use 'any file-system-needed-for-boot?' instead of looking at the first user. * tests/system.scm ("non-boot-file-system-service"): New test. Ludovic Courtès
2018-05-28system: Remove uses of the 'title' field of <file-system>....* gnu/system/install.scm (installation-os): Remove uses of the 'title' field of 'file-system'; use 'file-system-label' as appropriate. * gnu/system/vm.scm (system-disk-image, system-qemu-image): Likewise. * gnu/tests.scm (%simple-os): Likewise. * gnu/tests/install.scm (%minimal-os, %minimal-extlinux-os) (%minimal-os-on-vda, %separate-home-os, %separate-store-os) (%raid-root-os, %encrypted-root-os, %btrfs-root-os): Likewise. * gnu/build/shepherd.scm (default-mounts)[tmpfs]: Likewise. * tests/guix-system.sh: Likewise. * tests/system.scm (%root-fs): Likewise. ("operating-system-boot-mapped-devices, implicit dependency"): Likewise. Ludovic Courtès