Subject: [bug#69363] [PATCH 39/87] gnu: Add rust-terminfo-0.8.0.

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

* gnu/packages/crates-io.scm (rust-terminfo-0.8): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 932a66f2f3..c4f853b728 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69602,6 +69602,33 @@ (define-public rust-terminal-size-0.1
            `(("rust-libc" ,rust-libc-0.2)
              ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-terminfo-0.8
+  (package
+    (name "rust-terminfo")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "terminfo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13s9920jzmnr0jidik8yn6gvkic9n39sl28440mx4x8pd2kd6v36"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=Database"
+                            "--skip=expand::expand"
+                            "--skip=src/lib.rs")
+       #:cargo-inputs (("rust-dirs" ,rust-dirs-4)
+                       ("rust-fnv" ,rust-fnv-1)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-phf" ,rust-phf-0.11)
+                       ("rust-phf-codegen" ,rust-phf-codegen-0.11))))
+    (home-page "https://github.com/meh/rust-terminfo")
+    (synopsis "Terminal information")
+    (description "Terminal capabilities with type-safe getters.")
+    (license license:wtfpl2)))
+
 (define-public rust-terminfo-0.7
   (package
     (name "rust-terminfo")
-- 
2.41.0