guix-commits
[Top][All Lists]
Advanced

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

132/134: gnu: Add rust-yaml-rust2-0.9.


From: guix-commits
Subject: 132/134: gnu: Add rust-yaml-rust2-0.9.
Date: Tue, 3 Dec 2024 10:04:49 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 093d7cc4e0a3c7f18e66ce5813f59fe5af2f6528
Author: Jordan Moore <lockbox@struct.foo>
AuthorDate: Mon Dec 2 22:00:52 2024 -0500

    gnu: Add rust-yaml-rust2-0.9.
    
    * gnu/packages/crates-io.scm (rust-yaml-rust2-0.9): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc659dc5c5..9a388c78d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -96834,6 +96834,31 @@ Read/Write streams as well as low-level in-memory 
encoding and decoding.")
        (("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.9))
+       #:cargo-development-inputs (("rust-libtest-mimic" 
,rust-libtest-mimic-0.4)
+                                   ("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 written in
+pure rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-yansi-1
   (package
     (name "rust-yansi")



reply via email to

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