From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 66842@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>
Subject: [bug#66842] [PATCH 38/39] gnu: Add macchina.
Date: Mon, 30 Oct 2023 22:52:42 -0400 [thread overview]
Message-ID: <c4a7fec694088bf52924b221249cdda33fab2922.1698720461.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1698720458.git.jaeme@runbox.com>
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
next prev parent reply other threads:[~2023-10-31 2:56 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 01/39] gnu: Add rust-tui-0.19 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 02/39] gnu: rust-shellexpand-2: Update to 2.1.2 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 03/39] gnu: Add rust-shellexpand-3 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 04/39] gnu: Add rust-windows-interface-0.48 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 05/39] gnu: Add rust-windows-implement-0.48 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 06/39] gnu: Add rust-windows-0.48 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 07/39] gnu: Add rust-wmi-0.12 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 08/39] gnu: Add rust-windows-x86-64-msvc-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 09/39] gnu: Add rust-windows-x86-64-gnu-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 10/39] gnu: Add rust-windows-i686-msvc-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 11/39] gnu: Add rust-windows-i686-gnu-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 12/39] gnu: Add rust-windows-aarch64-msvc-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 13/39] gnu: Add rust-windows-interface-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 14/39] gnu: Add rust-windows-tokens-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 15/39] gnu: Add rust-windows-implement-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 16/39] gnu: Add rust-windows-0.39 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 17/39] gnu: rust-thiserror-impl-1: Update to 1.0.50 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 18/39] gnu: rust-thiserror-1: " Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 19/39] gnu: rust-anyhow-1: Update to 1.0.75 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 20/39] gnu: rust-getset-0.1: Update to 0.1.2 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 21/39] gnu: Add rust-enum-iterator-derive-1 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 22/39] gnu: Add rust-enum-iterator-1 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 23/39] gnu: Add rust-vergen-7 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 24/39] gnu: rust-vergen-3: Update to 3.2.0 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 25/39] gnu: rust-sysctl-0.4: Update to 0.4.6 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 26/39] gnu: Add rust-temporary-0.6 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 27/39] gnu: Add rust-sqlite3-src-0.4 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 28/39] gnu: Add rust-sqlite3-sys-0.14 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 29/39] gnu: Add rust-sqlite-0.27 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 30/39] gnu: Add rust-pciid-parser-0.6 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 32/39] gnu: rust-mach-0.3: Update to 0.3.2 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 33/39] gnu: Add rust-neli-0.5 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 35/39] gnu: Add rust-libmacchina-6 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 36/39] gnu: Add rust-color-to-tui-0.2 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 37/39] gnu: Add rust-ansi-to-tui-2 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via [this message]
2023-10-31 2:52 ` [bug#66842] [PATCH 39/39] gnu: Update copyright header Jaeme Sifat via Guix-patches via
2023-10-31 3:06 ` [bug#66842] [PATCH vREVISION] gnu: macchina: Remove source installation Jaeme Sifat via Guix-patches via
2023-12-21 9:28 ` [bug#66842] [PATCH 00/39] Add macchina Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4a7fec694088bf52924b221249cdda33fab2922.1698720461.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=66842@debbugs.gnu.org \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).