Subject: [bug#70146] [PATCH 096/147] gnu: Add rust-arf-strings-0.7.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:48 +0200

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5cd8e0cd38..ef8894397c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2230,6 +2230,28 @@ (define-public rust-archery-1
 the pointer type is parameterizable.")
     (license license:mpl2.0)))
 
+(define-public rust-arf-strings-0.7
+  (package
+    (name "rust-arf-strings")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "arf-strings" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ncy11j7bk0ji94yb8nafyr5wvfg90q6vcbzcanpdbgyk4cy9szx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-rustix" ,rust-rustix-0.38))))
+    (home-page "https://github.com/bytecodealliance/arf-strings")
+    (synopsis "ARF encoding and decoding")
+    (description "This package provides a library to encode and decode
+@acronym{ARF, Alternative Representation for Filenames} strings.")
+    ;; With LLVM exception.
+    (license (list license:asl2.0 license:asl2.0 license:expat))))
+
 (define-public rust-arg-enum-proc-macro-0.3
   (package
     (name "rust-arg-enum-proc-macro")
-- 
2.41.0