[bug#75127,rust-team,v3,44/67] gnu: Add rust-yaml-rust2-0.8.

Message ID 0aa43c3400ca03808b53730b72a937853c516402.1735270705.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v3,01/67] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Dec. 27, 2024, 3:38 a.m. UTC
  * gnu/packages/crates-io.scm (rust-yaml-rust2-0.8): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80d8d9c06b..cacd0978b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72918,6 +72918,29 @@  (define-public rust-rust-lzma-0.5
      "This package provides Simple interface for LZMA compression and decompression.")
     (license license:expat)))
 
+(define-public rust-yaml-rust2-0.8
+  (package
+    (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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-arraydeque" ,rust-arraydeque-0.5)
+                       ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+                       ("rust-hashlink" ,rust-hashlink-0.8))))
+    (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-rustbox-0.11
   (package
     (name "rust-rustbox")