Subject: [PATCH 46/49] gnu: Add rust-yaml-rust2-0.9.

From: Jordan Moore <[email-masked]>
Date: Tue, 26 Nov 2024 16:39:21 -0500

* gnu/packages/crates-io.scm (rust-yaml-rust2-0.9): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e46996a3bc..39e64270dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -96262,6 +96262,30 @@ (define-public rust-yaml-rust-0.3
        (("rust-clippy" ,rust-clippy-0.0)
         ("rust-linked-hash-map" ,rust-linked-hash-map-0.3))))))
 
+(define-public rust-yaml-rust2-0.9
+  (package
+    (name "rust-yaml-rust2")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "yaml-rust2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13ay8jdlk1192p6hhb53dx601b139ycizipqpnikhcw2r45iq6ia"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arraydeque" ,rust-arraydeque-0.5)
+                       ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+                       ("rust-hashlink" ,rust-hashlink-0.8))
+       #:cargo-development-inputs (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+                                   ("rust-quickcheck" ,rust-quickcheck-1))))
+    (home-page "https://github.com/Ethiraric/yaml-rust2")
+    (synopsis "fully YAML 1.2 compliant YAML parser")
+    (description
+     "This package provides a fully YAML 1.2 compliant YAML parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-yansi-1
   (package
     (name "rust-yansi")
-- 
2.46.0