[bug#75127,rust-team,v5,36/57] gnu: Add rust-quick-xml-0.23.

Message ID 5d63188b394ae392345e96cf620d6c2d2a8ced9f.1736051366.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v5,01/57] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Jan. 5, 2025, 4:29 a.m. UTC
  * gnu/packages/crates-io.scm (rust-quick-xml-0.23): New variable.

Change-Id: I1ee24fef2d1c8edb5995d2ca02f091194ed771db
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02fe4e4518..ddb0270f9c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60166,6 +60166,29 @@  (define-public rust-quick-xml-0.26
         (base32
          "1kckgj8qscpi23y62zrfmni73k6h78nvhs3z9myiwq9q7g3b2l3z"))))))
 
+(define-public rust-quick-xml-0.23
+  (package
+    (inherit rust-quick-xml-0.26)
+    (name "rust-quick-xml")
+    (version "0.23.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "quick-xml" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1slry2g2wrj38fnzj9ybzq9wjyknrfg25x5vzfpzn5b8kj2zrfhi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde-value" ,rust-serde-value-0.7))))))
+
 (define-public rust-quick-xml-0.22
   (package
     (inherit rust-quick-xml-0.27)