Subject: [PATCH 38/87] gnu: Add rust-termion-3.0.0.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:36 +0100

* gnu/packages/crates-io.scm (rust-termion-3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38b6382558..932a66f2f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69627,6 +69627,31 @@ (define-public rust-terminfo-0.7
     (description "Terminal capabilities with type-safe getters.")
     (license license:wtfpl2)))
 
+(define-public rust-termion-3
+  (package
+    (name "rust-termion")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "termion" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; tests require a terminal
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-libredox" ,rust-libredox-0.0.2)
+                       ("rust-numtoa" ,rust-numtoa-0.1)
+                       ("rust-redox-termios" ,rust-redox-termios-0.1)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://gitlab.redox-os.org/redox-os/termion")
+    (synopsis "Library for manipulating terminals")
+    (description
+     "This package provides a bindless library for manipulating terminals.")
+    (license license:expat)))
+
 (define-public rust-termion-2
   (package
     (name "rust-termion")
-- 
2.41.0