gnu: Add rust-markup5ever-0.9.

* gnu/packages/crates-io.scm (rust-markup5ever-0.9): New variable.
(rust-markup5ever-0.8): Inherit from rust-markup-0.9.
This commit is contained in:
Efraim Flashner 2020-03-19 12:15:47 +02:00
parent b9affb662b
commit 18cef6547b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9916,10 +9916,10 @@ (define-public rust-maplit-1.0
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define-public rust-markup5ever-0.8 (define-public rust-markup5ever-0.9
(package (package
(name "rust-markup5ever") (name "rust-markup5ever")
(version "0.8.1") (version "0.9.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -9928,7 +9928,7 @@ (define-public rust-markup5ever-0.8
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"08ayl9aqjnmf7ly1ipy6dk3wjvyfn4w51l40jzh1fh984ykldbzi")))) "00wxigkiw8f777pjp7q5kfq77xpwda9zskkwp698assh8yfisf35"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
@ -9940,14 +9940,28 @@ (define-public rust-markup5ever-0.8
("rust-serde" ,rust-serde-1.0) ("rust-serde" ,rust-serde-1.0)
("rust-serde-derive" ,rust-serde-derive-1.0) ("rust-serde-derive" ,rust-serde-derive-1.0)
("rust-serde-json" ,rust-serde-json-1.0) ("rust-serde-json" ,rust-serde-json-1.0)
("rust-string-cache-codegen" ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.4))))
,rust-string-cache-codegen-0.4))))
(home-page "https://github.com/servo/html5ever") (home-page "https://github.com/servo/html5ever")
(synopsis "Common code for xml5ever and html5ever") (synopsis "Common code for xml5ever and html5ever")
(description (description
"Common code for xml5ever and html5ever.") "Common code for xml5ever and html5ever.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-markup5ever-0.8
(package
(inherit rust-markup5ever-0.9)
(name "rust-markup5ever")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "markup5ever" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"08ayl9aqjnmf7ly1ipy6dk3wjvyfn4w51l40jzh1fh984ykldbzi"))))))
(define-public rust-matches-0.1 (define-public rust-matches-0.1
(package (package
(name "rust-matches") (name "rust-matches")