summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:16:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:09 +0100
commitcc8489ba494861c9a3b38743882dab6f083b6179 (patch)
treecba21428ac8ba0844d97696044cff9402667ea45 /gnu/packages/crates-io.scm
parentaeeb6bf0fd253327ff1e14a99023fd44d1edd2f8 (diff)
downloadguix-cc8489ba494861c9a3b38743882dab6f083b6179.tar.gz
gnu: Add rust-quick-xml-0.21.
* gnu/packages/crates-io.scm (rust-quick-xml-0.21): New variable.
(rust-quick-xml-0.20): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 22 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59214f07c8..1a60a668e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29838,17 +29838,17 @@ to write.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-quick-xml-0.20
+(define-public rust-quick-xml-0.21
   (package
     (name "rust-quick-xml")
-    (version "0.20.0")
+    (version "0.21.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "quick-xml" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1pd6fiq79sxsf75027a65f45fqm0kds0in0y9nkf9415issbdai6"))))
+        (base32 "0xgcmf5qlpjsl239igbkf4j6mlmsm5xp14a3rv45h2j185cnjlh4"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -29862,6 +29862,25 @@ to write.")
      "This package provides a high performance XML reader and writer.")
     (license license:expat)))
 
+(define-public rust-quick-xml-0.20
+  (package
+    (inherit rust-quick-xml-0.21)
+    (name "rust-quick-xml")
+    (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 "1pd6fiq79sxsf75027a65f45fqm0kds0in0y9nkf9415issbdai6"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-serde" ,rust-serde-1))))))
+
 (define-public rust-quick-xml-0.19
   (package
     (inherit rust-quick-xml-0.20)