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.
This commit is contained in:
Nicolas Goaziou 2021-02-10 15:03:45 +01:00
parent 1edbb60e55
commit 1dad0a1d54
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -28528,8 +28528,33 @@ (define-public rust-quick-error-1
(license (list license:asl2.0
license:expat))))
(define-public rust-quick-xml-0.20
(package
(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"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-encoding-rs" ,rust-encoding-rs-0.8)
("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
@ -28539,19 +28564,13 @@ (define-public rust-quick-xml-0.12
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zvpwph44c5vgqapmdh50ylcdl9rpxffikcmq4fc208pn35nb00x"))))
(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))))
(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-memchr" ,rust-memchr-2))))))
(define-public rust-quickcheck-0.9
(package