Subject: [bug#75127] [PATCH rust-team v5 42/57] gnu: Add rust-yaml-rust2-0.8.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:29:12 -0500

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7695f133e7..1606cd71a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93148,6 +93148,24 @@ (define-public rust-yaml-rust2-0.9
 pure rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-yaml-rust2-0.8
+  (package
+    (inherit rust-yaml-rust2-0.9)
+    (name "rust-yaml-rust2")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "yaml-rust2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1y0mf6n1jnf88xqfv5ppicnm5jg3fl57dmp9vd2v2bvg9q61c0l9"))))
+    (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))))))
+
 (define-public rust-yansi-1
   (package
     (name "rust-yansi")
-- 
2.46.0