summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 15:03:45 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:22 +0100
commit1dad0a1d5485ef26066fcd288ea7d7cf7d1d5091 (patch)
treef973014c83b643f786296b8fa94f44d59016c09b
parent1edbb60e553fdbdf6743fc704dbf18166d33108f (diff)
downloadguix-1dad0a1d5485ef26066fcd288ea7d7cf7d1d5091.tar.gz
gnu: Add rust-quick-xml-0.20.
* gnu/packages/crates-io.scm (rust-quick-xml-0.20): New variable.
(rust-quick-xml-0.12): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3425bbd8c..f2b278e99a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28528,31 +28528,50 @@ to write.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-quick-xml-0.12
+(define-public rust-quick-xml-0.20
   (package
     (name "rust-quick-xml")
-    (version "0.12.4")
+    (version "0.20.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "quick-xml" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zvpwph44c5vgqapmdh50ylcdl9rpxffikcmq4fc208pn35nb00x"))))
+        (base32 "1pd6fiq79sxsf75027a65f45fqm0kds0in0y9nkf9415issbdai6"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-encoding-rs" ,rust-encoding-rs-0.8)
-        ("rust-failure" ,rust-failure-0.1)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-memchr" ,rust-memchr-2))))
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-serde" ,rust-serde-1))))
     (home-page "https://github.com/tafia/quick-xml")
     (synopsis "High performance XML reader and writer")
     (description
      "This package provides a high performance XML reader and writer.")
     (license license:expat)))
 
+(define-public rust-quick-xml-0.12
+  (package
+    (inherit rust-quick-xml-0.20)
+    (name "rust-quick-xml")
+    (version "0.12.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quick-xml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zvpwph44c5vgqapmdh50ylcdl9rpxffikcmq4fc208pn35nb00x"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-memchr" ,rust-memchr-2))))))
+
 (define-public rust-quickcheck-0.9
   (package
     (name "rust-quickcheck")