Subject: [PATCH 29/42] gnu: Add rust-tr-0.1.

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

* gnu/packages/crates-io.scm (rust-tr-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d4becfcbbc..6a0ea99741 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83267,6 +83267,27 @@ (define-public rust-topology-traits-0.1
 Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tr-0.1
+  (package
+    (name "rust-tr")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xksi7qq5h8i779ik51i81147858d5nxr3ng39pm47l9asg1s491"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gettext" ,rust-gettext-0.4)
+                       ("rust-gettext-rs" ,rust-gettext-rs-0.7)
+                       ("rust-lazy-static" ,rust-lazy-static-1))))
+    (home-page "https://github.com/woboq/tr")
+    (synopsis "tr! macro for localisation")
+    (description "This crate provides a tr! macro for localisation.")
+    (license license:expat)))
+
 (define-public rust-tracing-0.1
   (package
     (name "rust-tracing")
-- 
2.41.0