guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74551] [PATCH v2 46/49] gnu: Add rust-yaml-rust2-0.9.


From: Jordan Moore
Subject: [bug#74551] [PATCH v2 46/49] gnu: Add rust-yaml-rust2-0.9.
Date: Sat, 30 Nov 2024 11:55: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 1557f73555..d73bf675c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -96358,6 +96358,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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]