Subject: [PATCH 09/21] gnu: Add rust-man-0.3.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 28 Oct 2023 18:47:01 -0400

* gnu/packages/crates-io.scm (rust-man-0.3): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: I967043e4cb97a8622e0c0df350debeba42c1ef1d
---
 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 aa241a2918..34982f04f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39789,6 +39789,27 @@ (define-public rust-malloc-buf-0.0
     "This package provides structs for handling malloc'd memory passed to Rust.")
    (license license:expat)))
 
+(define-public rust-man-0.3
+  (package
+    (name "rust-man")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "man" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jd103brl70sh1hxm2w3n6z3pzazrznsl45cn53h3a47a5wzmxgb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-roff" ,rust-roff-0.1))))
+    (home-page "https://github.com/rust-clique/man")
+    (synopsis "Generate structured man pages")
+    (description
+     "This package provides a way to generate structured man pages using
+@code{roff-rs}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-maplit-1
   (package
     (name "rust-maplit")
-- 
2.41.0