From 8978843a81ccf414c37d50c44204defdbcae4604 Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Sat, 7 Oct 2023 03:02:20 +0300 Subject: [PATCH] gnu: Add rust-quick-xml-0.28. * gnu/packages/crates-io.scm (rust-quick-xml-0.28): New variable. (rust-quick-xml-0.27): Inherit from rust-quick-xml-0.28. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d9dec6f7c5..f40c2a768d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -53829,8 +53829,44 @@ (define-public rust-quick-error-1 (base32 "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))))) +(define-public rust-quick-xml-0.28 + (package + (name "rust-quick-xml") + (version "0.28.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lfr3512x0s0i9kbyglyzn0rq0i1bvd2mqqfi8gs685808rfgr8c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-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) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (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.27 (package + (inherit rust-quick-xml-0.28) (name "rust-quick-xml") (version "0.27.1") (source (origin @@ -53840,7 +53876,6 @@ (define-public rust-quick-xml-0.27 (sha256 (base32 "0hacs71afvppq6d7x6b8d4liv0rcqhsf9mrcyrb8lxnxazq57h7z")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) @@ -53855,12 +53890,7 @@ (define-public rust-quick-xml-0.27 ("rust-serde" ,rust-serde-1) ("rust-serde-value" ,rust-serde-value-0.7) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-test" ,rust-tokio-test-0.4)))) - (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))) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) (define-public rust-quick-xml-0.22 (package