Subject: [PATCH 28/42] gnu: Add rust-tinystr-0.7.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:45 +0200

* gnu/packages/crates-io.scm (rust-tinystr-0.7): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2dc995a43b..d4becfcbbc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80426,6 +80426,32 @@ (define-public rust-tiny-keccak-2
 specified in FIPS-202, SP800-185 and KangarooTwelve.")
     (license license:cc0)))
 
+(define-public rust-tinystr-0.7
+  (package
+    (name "rust-tinystr")
+    (version "0.7.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tinystr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1khf3j95bwwksj2hw76nlvwlwpwi4d1j421lj6x35arqqprjph43"))))
+    (build-system cargo-build-system)
+    (arguments
+    `(#:skip-build? #t
+       #:cargo-inputs (("rust-databake" ,rust-databake-0.1)
+                       ("rust-displaydoc" ,rust-displaydoc-0.2)
+                       ("rust-bincode" ,rust-bincode-1)
+                       ("rust-postcard" ,rust-postcard-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zerovec" ,rust-zerovec-0.10))))
+    (home-page "https://github.com/unicode-org/icu4x")
+    (synopsis "A small ASCII-only bounded length string representation.")
+    (description
+     "This package provides a small ASCII-only bounded length string representation.")
+    (license license:unicode)))
+
 (define-public rust-tiny-skia-0.11
   (package
     (name "rust-tiny-skia")
-- 
2.41.0