guix-commits
[Top][All Lists]
Advanced

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

37/39: gnu: Add rust-xml5ever@0.16.1.


From: guix-commits
Subject: 37/39: gnu: Add rust-xml5ever@0.16.1.
Date: Thu, 16 Jul 2020 21:40:52 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 70aeb6e2dec565adb775546eed0f3984f8cb4587
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 9 09:57:47 2020 -0400

    gnu: Add rust-xml5ever@0.16.1.
    
    * gnu/packages/crates-io.scm (rust-xml5ever-0.16): New Variable.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e30d1cd..64ca892 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28847,6 +28847,36 @@ to XDG Base Directory specification")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-xml5ever-0.16
+  (package
+    (name "rust-xml5ever")
+    (version "0.16.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "xml5ever" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0nbapmdrn4zqry5p01l2mmbb48fcq0gga377p1c4lkb1x3k546qb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-mac" ,rust-mac-0.1)
+        ("rust-markup5ever" ,rust-markup5ever-0.10)
+        ("rust-time" ,rust-time-0.1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-rustc-test" ,rust-rustc-test-0.3))))
+    (home-page "https://crates.io/crates/xml5ever";)
+    (synopsis "XML parser for Rust")
+    (description "This crate provides a push based XML parser library that
+trades well-formedness for error recovery.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-xml-rs-0.8
   (package
     (name "rust-xml-rs")



reply via email to

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