mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: Add rust-xml5ever-0.18.
* gnu/packages/crates-io.scm (rust-xml5ever-0.18): New variable. (rust-xml5ever-0.17): Inherit from rust-xml5ever-0.18. Change-Id: I6fc9d069188045bb1f9ad3b7646f12932a77ad2d
This commit is contained in:
parent
0691b5eee5
commit
afab5000d1
1 changed files with 25 additions and 8 deletions
|
@ -100224,8 +100224,32 @@ (define-public rust-xml-rs-0.7
|
|||
(description "An XML library in pure Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-xml5ever-0.18
|
||||
(package
|
||||
(name "rust-xml5ever")
|
||||
(version "0.18.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "xml5ever" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0sdz92vrcxfwv7yzai28y0wa9gswr6msjnksak0rp4cfbm02dfwv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-log" ,rust-log-0.4)
|
||||
("rust-mac" ,rust-mac-0.1)
|
||||
("rust-markup5ever" ,rust-markup5ever-0.12))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5))))
|
||||
(home-page
|
||||
"https://github.com/servo/html5ever/blob/main/xml5ever/README.md")
|
||||
(synopsis "Push based streaming parser for xml")
|
||||
(description "This package provides a push based streaming parser for XML.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-xml5ever-0.17
|
||||
(package
|
||||
(inherit rust-xml5ever-0.18)
|
||||
(name "rust-xml5ever")
|
||||
(version "0.17.0")
|
||||
(source (origin
|
||||
|
@ -100235,7 +100259,6 @@ (define-public rust-xml5ever-0.17
|
|||
(sha256
|
||||
(base32
|
||||
"0l76v0c228c92sskiflpsy19c0bgc8q7flhlfanm32zrbb8f2d20"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-log" ,rust-log-0.4)
|
||||
|
@ -100243,13 +100266,7 @@ (define-public rust-xml5ever-0.17
|
|||
("rust-markup5ever" ,rust-markup5ever-0.11))
|
||||
#:cargo-development-inputs
|
||||
(("rust-criterion" ,rust-criterion-0.3)
|
||||
("rust-rustc-test" ,rust-rustc-test-0.3))))
|
||||
(home-page
|
||||
"https://github.com/servo/html5ever/blob/master/xml5ever/README.md")
|
||||
(synopsis "Push based streaming parser for xml")
|
||||
(description
|
||||
"Push based streaming parser for xml.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-rustc-test" ,rust-rustc-test-0.3))))))
|
||||
|
||||
(define-public rust-xml5ever-0.16
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue