Subject: [PATCH 05/10] gnu: Add rust-vt100 0.15.
From: gravitydiv10 <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: "[email-masked]" <[email-masked]>
Date: Wed, 22 Nov 2023 14:19:49 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From 77be122c0001cbf75ae45c5745a772d688ac5b7d Mon Sep 17 00:00:00 2001
Message-ID: <77be[email-masked]>
In-Reply-To: <a61e[email-masked]>
References: <a61e[email-masked]>
From: Lu <[email-masked]>
Date: Wed, 22 Nov 2023 21:55:18 +0800
Subject: [PATCH 05/10] gnu: Add rust-vt100 0.15.

* gnu/packages/crates-io.scm (rust-vt100-0.15): New variable.

Change-Id: I3c40d2d7d51358ade4ebac06d290c25f28c2c4d8
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c512a1e89..5e02b1cda9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81255,6 +81255,29 @@ (define-public rust-vswhom-sys-0.1
      "This package provides a pure FFI to Jon Blow's VS discovery script.")
     (license license:expat)))
 
+(define-public rust-vt100-0.15
+  (package
+    (name "rust-vt100")
+    (version "0.15.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "vt100" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pklc8y984axmxr0cd363srr2d27wd5rj15xlcmkjznvy0xqdkc4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-itoa" ,rust-itoa-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-vte" ,rust-vte-0.11))))
+    (home-page "https://github.com/doy/vt100-rust")
+    (synopsis "Library for parsing terminal data")
+    (description "This package provides function for parsing terminal data in Rust.")
+    (license license:expat)))
+
 (define-public rust-vte-0.10
   (package
     (name "rust-vte")
-- 
2.41.0