Subject: [PATCH 25/91] gnu: Add rust-minimad-0.12.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:03 +0100

* gnu/packages/crates-io.scm (rust-minimad-0.12): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d3c3cf4f0..288c32b132 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41511,8 +41511,28 @@ (define-public rust-minijinja-0.34
     (description "This package provides a template engine for Rust.")
     (license license:asl2.0)))
 
+(define-public rust-minimad-0.12
+  (package
+    (name "rust-minimad")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "minimad" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vzglb05pqghc8l6d10vqkal0nqhgkh94jawwlhd1r14952kdc9q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://github.com/Canop/minimad")
+    (synopsis "Light markdown parser")
+    (description "Light markdown parser.")
+    (license license:expat)))
+
 (define-public rust-minimad-0.9
   (package
+    (inherit rust-minimad-0.12)
     (name "rust-minimad")
     (version "0.9.1")
     (source (origin
@@ -41521,14 +41541,7 @@ (define-public rust-minimad-0.9
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
-    (home-page "https://github.com/Canop/minimad")
-    (synopsis "Light markdown parser")
-    (description "Light markdown parser.")
-    (license license:expat)))
+                "0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7"))))))
 
 (define-public rust-minimal-lexical-0.2
   (package
-- 
2.41.0