unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
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 37/39] gnu: Add rust-ansi-to-tui-2.
Date: Mon, 30 Oct 2023 22:52:41 -0400	[thread overview]
Message-ID: <a5e9554984b919bbdc9c136356b67838ccd03111.1698720461.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1698720458.git.jaeme@runbox.com>

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





  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 ` Jaeme Sifat via Guix-patches via [this message]
2023-10-31  2:52 ` [bug#66842] [PATCH 38/39] gnu: Add macchina Jaeme Sifat via Guix-patches via
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=a5e9554984b919bbdc9c136356b67838ccd03111.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).