Subject: Re: [PATCH 44/44] gnu: Add rust-bottom-0.10.

From: Divya Ranjan <[email-masked]>
Date: Sun, 05 Jan 2025 07:38:05 +0000

Efraim, in the last patch I forgot to add the copyright signature. Just add "Divya Ranjan Pattanaik <[email-masked]>"

On 5 January 2025 07:04:20 GMT, Divya Ranjan <[email-masked]> wrote:
>* gnu/packages/rust-apps.scm (rust-bottom-0.10): New variable.
>---
> gnu/packages/rust-apps.scm | 69 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 69 insertions(+)
>
>diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
>index 2182daa2f3..8b38f78118 100644
>--- a/gnu/packages/rust-apps.scm
>+++ b/gnu/packages/rust-apps.scm
>@@ -377,6 +377,75 @@ (define-public bat
> paging.")
>     (license (list license:expat license:asl2.0))))
> 
>+(define-public rust-bottom-0.10
>+  (package
>+    (name "rust-bottom")
>+    (version "0.10.2")
>+    (source
>+     (origin
>+       (method git-fetch)
>+       (uri (git-reference
>+             (url "https://github.com/ClementTsang/bottom/")
>+             (commit "2ec1fb56c9db0b37acc4eca3230adfb52720376b")))
>+       (file-name (git-file-name name version))
>+       (sha256
>+        (base32 "12g4r527hj43gb8vymap4ysrjdwg5f8vvrbpshvywnz2vxyifvc6"))))
>+    (build-system cargo-build-system)
>+    (arguments
>+     `(#:tests? #f ;Some test files can’t be found in build env
>+       #:cargo-build-flags '("--release")
>+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
>+                       ("rust-backtrace" ,rust-backtrace-0.3)
>+                       ("rust-cfg-if" ,rust-cfg-if-1)
>+                       ("rust-clap" ,rust-clap-4)
>+                       ("rust-clap-complete" ,rust-clap-complete-4)
>+                       ("rust-clap-complete-fig" ,rust-clap-complete-fig-4)
>+                       ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4)
>+                       ("rust-clap-mangen" ,rust-clap-mangen-0.2)
>+                       ("rust-concat-string" ,rust-concat-string-1)
>+                       ("rust-core-foundation" ,rust-core-foundation-0.9)
>+                       ("rust-crossterm" ,rust-crossterm-0.27)
>+                       ("rust-ctrlc" ,rust-ctrlc-3)
>+                       ("rust-dirs" ,rust-dirs-5)
>+                       ("rust-fern" ,rust-fern-0.6)
>+                       ("rust-filedescriptor" ,rust-filedescriptor-0.8)
>+                       ("rust-hashbrown" ,rust-hashbrown-0.14)
>+                       ("rust-humantime" ,rust-humantime-2)
>+                       ("rust-indexmap" ,rust-indexmap-2)
>+                       ("rust-indoc" ,rust-indoc-2)
>+                       ("rust-itertools" ,rust-itertools-0.13)
>+                       ("rust-libc" ,rust-libc-0.2)
>+                       ("rust-log" ,rust-log-0.4)
>+                       ("rust-mach2" ,rust-mach2-0.4)
>+                       ("rust-nvml-wrapper" ,rust-nvml-wrapper-0.10)
>+                       ("rust-ratatui" ,rust-ratatui-0.27)
>+                       ("rust-regex" ,rust-regex-1)
>+                       ("rust-rustix" ,rust-rustix-0.38)
>+                       ("rust-schemars" ,rust-schemars-0.8)
>+                       ("rust-serde" ,rust-serde-1)
>+                       ("rust-serde-json" ,rust-serde-json-1)
>+                       ("rust-starship-battery" ,rust-starship-battery-0.9)
>+                       ("rust-strum" ,rust-strum-0.26)
>+                       ("rust-sysctl" ,rust-sysctl-0.5)
>+                       ("rust-sysinfo" ,rust-sysinfo-0.30)
>+                       ("rust-time" ,rust-time-0.3)
>+                       ("rust-toml-edit" ,rust-toml-edit-0.22)
>+                       ("rust-unicode-ellipsis" ,rust-unicode-ellipsis-0.2)
>+                       ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
>+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
>+                       ("rust-windows" ,rust-windows-0.58))
>+       #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2)
>+                                   ("rust-cargo-husky" ,rust-cargo-husky-1)
>+                                   ("rust-portable-pty" ,rust-portable-pty-0.8)
>+                                   ("rust-predicates" ,rust-predicates-3))))
>+    (home-page "https://github.com/ClementTsang/bottom")
>+    (synopsis
>+     "Customizable cross-platform graphical process/system monitor for the terminal")
>+    (description
>+     "This package provides a customizable cross-platform graphical process/system
>+monitor for the terminal.  Supports Linux, @code{macOS}, and Windows.")
>+    (license license:expat)))
>+
> (define-public cargo-machete
>   (package
>     (name "cargo-machete")
>-- 
>2.47.1
>

Divya Ranjan, Mathematics, Philosophy and Libre Software