From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4IhVGcxsQGWk8wAAauVa8A:P1 (envelope-from ) for ; Tue, 31 Oct 2023 03:56:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4IhVGcxsQGWk8wAAauVa8A (envelope-from ) for ; Tue, 31 Oct 2023 03:56:12 +0100 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 48A561545F for ; Tue, 31 Oct 2023 03:56:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=ieINjrtL; dmarc=pass (policy=none) header.from=gnu.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1698720972; a=rsa-sha256; cv=none; b=VrULlbEA/Fy2Q33bpPYbGkV3F8yvI0CN390zFMpbLrjb2FwKLqvATIfwzS3o9tNjhJ8qjG EAz0beHHmMzH4HXG9+6PT12j+KjE1Cl+aukTidYayxz5hRwy0JzLwKYhvItXIwfITPWF/3 mmFE9m6kk+vi0RaPLcAaSVh9D5MlKS/L4021tbfgPODpFRWzmJ0vB4qoBdd5HOkXie57V8 8Gw+AsUdBwCfD9d0myKSUkrhNmDA6z9Uk8OnMY375L52oc7avKUpr9F60yK7gscw6OzUHl gUAteOFXBt7B//rUmUpxp+FavRUS47ASHG6ttImx4wt1F2GJpqgKXoAF8atDQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=ieINjrtL; dmarc=pass (policy=none) header.from=gnu.org; 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=1698720972; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=az696o6QZnxsQKxa4dHGYAq1YYKrNRT2wbunYEgUiDA=; b=lDwkI5Ct1Rt6NoQre1XUJMkaWmf1816MrRagUYuSlhcCL/0w/eIgxTeQV8kk719Zsewco7 LwaPkOgkrM4m/uFTXxxWxj8TFdcb4u+EOS6rlIv+kPOWPmEU5Ee7sNk36ZYPRmVZb3AVDA mLOkCmxrXwGBeBDR6Pr488MSVO9nhrNkTHIAqXTfK+wAk84G+CrwY7WjR2yD6WH6xHWcSN ZWLqNKluGEF7tJCojwiBAPkDkSHGR/sd5QjHF3EHqoIuwcBlRTPIg93fzFvzcXtDMsp5g0 decz1Jao8SS5/Z+xHUkgm7qUB2j/2Xp0i3iaGAKxWfhDIuppbPgo+gO3mw6+9w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxeug-0007aW-27; Mon, 30 Oct 2023 22:55:30 -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 1qxeuf-0007Zu-9x for guix-patches@gnu.org; Mon, 30 Oct 2023 22:55:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxeuf-0001Nz-1j for guix-patches@gnu.org; Mon, 30 Oct 2023 22:55:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxevC-0001fs-HO for guix-patches@gnu.org; Mon, 30 Oct 2023 22:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66842] [PATCH 38/39] gnu: Add macchina. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Oct 2023 02:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66842@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66842-submit@debbugs.gnu.org id=B66842.16987209436326 (code B ref 66842); Tue, 31 Oct 2023 02:56:02 +0000 Received: (at 66842) by debbugs.gnu.org; 31 Oct 2023 02:55:43 +0000 Received: from localhost ([127.0.0.1]:47238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxeut-0001ds-0T for submit@debbugs.gnu.org; Mon, 30 Oct 2023 22:55:43 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:40370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxetR-0001UU-Lq for 66842@debbugs.gnu.org; Mon, 30 Oct 2023 22:54:18 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxeso-00GBWU-Fw for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-Id:Date:Subject:Cc:To:From; bh=az696o6QZnxsQKxa4dHGYAq1YYKrNRT2wbunYEgUiDA=; b=ieINjrtLIV4CjVkV2rnponID63 DtQo2z7Jta8ZLx1coh+sUh1Ec+gaC7wBeGJkkQbOa+PlFCnFbE2AfuDAC0ydIEDYA4MP6oqm2DdTH H/1Xy/GwFhvp1Kw7kVjRLIkJ3E0AgzuwJzNbumfz8Ih5VX/FTJ39v7uZU7lGCShp50Gv55iSkaU8h v9abXZOYF5kUO9mB24Ze0EMIRC0UAbPcqYp4ft9CbQlC0DZh1lU9XhhMCp34ZDdUSbOvfB6TGozKA GZKXOW2nqJ76/epQerZ0kjc67EmbWQ/55RAguSawftm44557mrcTduW2sxIX66MvIRT4CJPh6aJLv IwW82zog==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxesn-0003FZ-V7 for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:34 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxesa-0088By-5h; Tue, 31 Oct 2023 03:53:20 +0100 Date: Mon, 30 Oct 2023 22:52:42 -0400 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat via Guix-patches via 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 X-Migadu-Queue-Id: 48A561545F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.21 X-Spam-Score: -6.21 X-TUID: TWwSOctp3XFs 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