me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-html5ever-0.25.

* gnu/packages/crates-io.scm (rust-html5ever-0.25): New variable.
(rust-html5ever-0.24): Inherit from above.
master
Nicolas Goaziou 2021-02-09 11:28:40 +01:00
parent dda2686fc2
commit a91ac228a3
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 29 additions and 7 deletions

View File

@ -15727,8 +15727,36 @@ Hash-based Message Authentication Code}.")
(("rust-libc" ,rust-libc-0.2)
("rust-winutil" ,rust-winutil-0.1))))))
(define-public rust-html5ever-0.25
(package
(name "rust-html5ever")
(version "0.25.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "html5ever" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0szdpwr6l3p21flf01pdlpj6fkpqisqf34lvs918449n3a5g7z5a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#: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))))
(define-public rust-html5ever-0.24
(package
(inherit rust-html5ever-0.25)
(name "rust-html5ever")
(version "0.24.1")
(source
@ -15739,7 +15767,6 @@ Hash-based Message Authentication Code}.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1js4cr04941ld4r4fqpblvfigy75ds48qcbqhnr7nmz4l6q86m02"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-log" ,rust-log-0.4)
@ -15752,12 +15779,7 @@ Hash-based Message Authentication Code}.")
(("rust-criterion" ,rust-criterion-0.2)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-rustc-test" ,rust-rustc-test-0.3)
("rust-typed-arena" ,rust-typed-arena-1))))
(home-page "https://github.com/servo/html5ever")
(synopsis "High-performance browser-grade HTML5 parser")
(description
"High-performance browser-grade HTML5 parser.")
(license (list license:asl2.0 license:expat))))
("rust-typed-arena" ,rust-typed-arena-1))))))
(define-public rust-html5ever-0.23
(package/inherit rust-html5ever-0.24