From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WDc1J9NsQGWwBAEA9RJhRA:P1 (envelope-from ) for ; Tue, 31 Oct 2023 03:56:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WDc1J9NsQGWwBAEA9RJhRA (envelope-from ) for ; Tue, 31 Oct 2023 03:56:19 +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 67ECE67444 for ; Tue, 31 Oct 2023 03:56:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=YpPKYJRU; 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=1698720979; 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=lF175y/1mQug+8wytTwJDPGSZpui9uMgGBHT4XpAPbA=; b=gf3NcKUHPyKKrOLUVjjh2B5TevoWBzrF36irntMNnn/KzIQh/yNQuuPpfo4TqxjcgRjgpO d81swhMQqEz8Nt2+b1pHa0wgMSeX0OvkVj5oBwpkICJ8d+kcLFmgLnsJc86wznjj0zxnI7 2BY7Y4b/VqgtyDF39nqHA74wEuaHQc5c0aOErtALGjVOWqRr4fo90Yf3cvr8KnJwRRDQVl o0zSHk/jRqi+uKiP7/PnWaImHEjBqJ2RuoTH+XqUC208HY0IUXXPNwroFX5lIdedzG25Vx BHLXvIc9odWK27GjSeWiswvV9nWHcmwiCVS5RBVopcWaDAGwAO1l8tUfkoJXoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=YpPKYJRU; 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=1698720979; a=rsa-sha256; cv=none; b=T6x/5KOS9h8tfHGjeoK5kPYWBFKHHNgMvZXTzhAfhDY0k2E3Jy1dh/jW4rhG64X3ARwmUq CQgp+euDRlIv70h/+tBH99ddRV++x4FPSWKTmfQ1+lPx/15nSnfJrPXABsoI5GNFNM7C9v pjH6t9Fdh8mzdhmwoOGjlJAcPyK0OFQSrwgeijaR30IXkLnR40M3t041DjF8MpMdx6RCCn pZWUClAVimNXEjeb1bLObRmeFOb+Zi78MUS/ahgrT1fJAPC1kxNUrIv15kjgtxv7aI4FCF nFS4y1AVHs3sZu1BUbacsG+eOVbGdJt8xaR15KEo0kLeBWrBERZAKEjJ5rNxXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxeug-0007an-Bz; 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 1qxeue-0007Zg-VX for guix-patches@gnu.org; Mon, 30 Oct 2023 22:55:28 -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 1qxeue-0001Nt-ME for guix-patches@gnu.org; Mon, 30 Oct 2023 22:55:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxevC-0001fl-59 for guix-patches@gnu.org; Mon, 30 Oct 2023 22:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66842] [PATCH 37/39] gnu: Add rust-ansi-to-tui-2. 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.16987209436319 (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]:47236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxeus-0001dp-8Y for submit@debbugs.gnu.org; Mon, 30 Oct 2023 22:55:42 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:38596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxetZ-0001Vj-Rx for 66842@debbugs.gnu.org; Mon, 30 Oct 2023 22:54:22 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxesw-00GLIx-MB for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:42 +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=lF175y/1mQug+8wytTwJDPGSZpui9uMgGBHT4XpAPbA=; b=YpPKYJRUK04HRp8L6PDg8DmzQs raX/TZzGKBpXsnSwlhMytir5jniw8W2PBuzda+nrn2jFaqkeqZpYMiHKAWAadIoPDbsk52hR7OLHp h+m90ciQ3T6FGUVKF8D5P3DXzIiJJRGAfayu8zkdZ1t3NHhRvy/yzNyY2r5DZgtM7KIGUbMf/2P2Y egpbiC+nuFYWNEd6HC/0UhKFdzbK6PfadWThFNgCqZO6ldAy/0pbR728L64c6HNCS2OQUa1zruR1c 5IwvHZ1Nrv15K6B56333CDdpZrwpmaB2V+jARPAMdQI5An8jc09Ofx8l86iYN2HYRNjjdV9dkc9RP gw3gbGFw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxesw-0003GU-9q for 66842@debbugs.gnu.org; Tue, 31 Oct 2023 03:53:42 +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 1qxesZ-0088By-EK; Tue, 31 Oct 2023 03:53:19 +0100 Date: Mon, 30 Oct 2023 22:52:41 -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-Spam-Score: -6.21 X-Spam-Score: -6.21 X-Migadu-Queue-Id: 67ECE67444 X-Migadu-Scanner: mx10.migadu.com X-TUID: n+rB8OEGX/Z4 These crates should be placed in (crates-graphics) as they deal with terminal graphics. * gnu/packages/crates-graphics.scm (rust-ansi-to-tui-2): New variable. Change-Id: I3eb91a0ce8c66a911eaab5946e6b085ac0de8b96 --- gnu/packages/crates-graphics.scm | 51 ++++++++++++++++++++++++++++++++ gnu/packages/crates-io.scm | 24 --------------- 2 files changed, 51 insertions(+), 24 deletions(-) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 22b77121e9..dd0864a6bd 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -198,6 +198,33 @@ (define-public rust-ansi-term-0.9 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) (arguments `()))) +(define-public rust-ansi-to-tui-2 + (package + (name "rust-ansi-to-tui") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-to-tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l43nyj2difngwjbiy6vd5p8bw96w06swgw5hx6vi9zvqzs8wyqm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tui" ,rust-tui-0.16)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + (home-page "https://github.com/uttarayan21/ansi-to-tui") + (synopsis + "Library to convert ansi color coded text into @code{ratatui::text::Text} +type from the ratatui library") + (description + "This package provides a library to convert ansi color coded text into +@code{ratatui::text::Text} type from the ratatui library.") + (license license:expat))) + (define-public rust-aom-sys-0.3 (package (name "rust-aom-sys") @@ -470,6 +497,30 @@ (define-public rust-cgmath-0.16 (;("rust-glium" ,rust-glium-0.19) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-color-to-tui-0.2 + (package + (name "rust-color-to-tui") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-to-tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-tui" ,rust-tui-0.16)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://git.uttarayan.me/uttarayan/color-to-tui") + (synopsis + "Parse colors and convert them to @code{ratatui::style::Colors}") + (description + "This package provides parsing colors and converting them to +@code{ratatui::style::Colors}.") + (license license:expat))) + (define-public rust-core-graphics-0.22 (package (name "rust-core-graphics") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6e71b1f3df..29b56baeef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14071,30 +14071,6 @@ (define-public rust-colored-1 (base32 "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))))) -(define-public rust-color-to-tui-0.2 - (package - (name "rust-color-to-tui") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "color-to-tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-tui" ,rust-tui-0.16)) - #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://git.uttarayan.me/uttarayan/color-to-tui") - (synopsis - "Parse colors and convert them to @code{ratatui::style::Colors}") - (description - "This package provides parsing colors and converting them to -@code{ratatui::style::Colors}.") - (license license:expat))) - (define-public rust-combine-4 (package (name "rust-combine") -- 2.34.1