GNU bug report logs -
#66842
[PATCH 00/39] Add macchina
Previous Next
Reported by: Jaeme Sifat <jaeme <at> runbox.com>
Date: Tue, 31 Oct 2023 02:51:01 UTC
Severity: normal
Tags: patch
Done: Jaeme Sifat <jaeme <at> runbox.com>
Bug is archived. No further changes may be made.
Full log
Message #92 received at 66842 <at> debbugs.gnu.org (full text, mbox):
macchine is a system info fetcher similar to neofetch. It's main appeal is
being blazingly fast as well as being configured through a toml file rather
than a shell script.
* gnu/packages/rust-apps.scm (macchina): New variable.
Change-Id: I2d054e770cb23ccb92a3824739858f39d3f5b467
---
gnu/packages/rust-apps.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index a06447143a..c6cdb31704 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -835,6 +835,56 @@ (define-public just
@code{just} is a handy way to save and run project-specific commands.")
(license license:cc0)))
+(define-public macchina
+ (package
+ (name "macchina")
+ (version "6.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "macchina" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "044bygdazv8l1d5sf7pxn2xp26pmnx2b65122qzb37m1ylb1ksg6"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-2)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-bytesize" ,rust-bytesize-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-color-to-tui" ,rust-color-to-tui-0.2)
+ ("rust-colored" ,rust-colored-2)
+ ("rust-dirs" ,rust-dirs-4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libmacchina" ,rust-libmacchina-6)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-shellexpand" ,rust-shellexpand-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-tui" ,rust-tui-0.19)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-vergen" ,rust-vergen-7))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-extras
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share"))
+ (contrib (string-append share "/contrib")))
+ (mkdir-p contrib)
+ (copy-recursively "contrib" contrib)))))))
+ (native-inputs (list pkg-config))
+ (inputs (list libgit2 zlib))
+ (home-page "https://github.com/Macchina-CLI/macchina")
+ (synopsis "System information fetcher with an emphasis on performance")
+ (description
+ "This package provides a system information fetcher with an emphasis on
+performance. Similar to neofetch, this package prints out system information
+on the terminal in a visually appealing way.")
+ (license license:expat)))
+
(define-public maturin
(package
(name "maturin")
--
2.34.1
This bug report was last modified 1 year and 155 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.