gnu: Add rust-html5ever-0.26.

* gnu/packages/crates-io.scm (rust-html5ever-0.26): New variable.
(rust-html5ever-0.25): Inherit from rust-html5ever-0.26.
Update to 0.25.2.
[arguments]: Don't skip build.
[cargo-development-inputs]: Add rust-criterion-0.3, rust-typed-arena-1.
This commit is contained in:
Efraim Flashner 2023-05-22 16:57:42 +03:00
parent 7a0daa509c
commit 805b1fbfd3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -28407,32 +28407,59 @@ (define-public rust-hostname-0.1
(("rust-libc" ,rust-libc-0.2)
("rust-winutil" ,rust-winutil-0.1))))))
(define-public rust-html5ever-0.25
(define-public rust-html5ever-0.26
(package
(name "rust-html5ever")
(version "0.25.1")
(version "0.26.0")
(source (origin
(method url-fetch)
(uri (crate-uri "html5ever" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my"))))
(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.11)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-typed-arena" ,rust-typed-arena-1))))
(home-page "https://github.com/servo/html5ever")
(synopsis "High-performance browser-grade HTML5 parser")
(description
"This package provides a high-performance browser-grade HTML5 parser.")
(license (list license:expat license:asl2.0))))
(define-public rust-html5ever-0.25
(package
(inherit rust-html5ever-0.26)
(name "rust-html5ever")
(version "0.25.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "html5ever" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0szdpwr6l3p21flf01pdlpj6fkpqisqf34lvs918449n3a5g7z5a"))))
(base32 "0j1iw2yy3fglr5rxqfrghmhksxzpcfp8ps753qazqkaxisq3zhg5"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
`(#:cargo-inputs
(("rust-log" ,rust-log-0.4)
("rust-mac" ,rust-mac-0.1)
("rust-markup5ever" ,rust-markup5ever-0.10)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/servo/html5ever")
(synopsis "High-performance browser-grade HTML5 parser")
(description
"This package provides a high-performance browser-grade HTML5 parser.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3)
("rust-typed-arena" ,rust-typed-arena-1))))))
(define-public rust-html5ever-0.24
(package