diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-06 20:53:07 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-06 21:54:05 +0300 |
commit | cc3205c1011936ddeeeb1b565b4070c6d15cc9aa (patch) | |
tree | bb2d9c126c739e66d86223f71636f5c46c4ebe33 /gnu/packages | |
parent | 441d4b67dcd77b22e506e39755ca7fcf06b872d5 (diff) |
gnu: Add rust-markup5ever-0.10.
* gnu/packages/crates-io.scm (rust-markup5ever-0.10): New variable.
(rust-markup5ever-0.9): Inherit from rust-markup5ever-0.10.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f13436a416..d32e7131a1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12653,8 +12653,40 @@ platform-independently.") (license (list license:asl2.0 license:expat)))) +(define-public rust-markup5ever-0.10 + (package + (name "rust-markup5ever") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "markup5ever" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1aqxl1lsc8s6ycsw5ibwynadnb9qpiab4ggwgdq9pjlnjdk8vqxa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-phf" ,rust-phf-0.8) + ("rust-string-cache" ,rust-string-cache-0.8) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-phf-codegen" ,rust-phf-codegen-0.8) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-serde-json" ,rust-serde-json-1.0) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5)))) + (home-page "https://github.com/servo/html5ever") + (synopsis "Common code for xml5ever and html5ever") + (description + "Common code for xml5ever and html5ever.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-markup5ever-0.9 (package + (inherit rust-markup5ever-0.10) (name "rust-markup5ever") (version "0.9.0") (source @@ -12666,7 +12698,6 @@ platform-independently.") (sha256 (base32 "00wxigkiw8f777pjp7q5kfq77xpwda9zskkwp698assh8yfisf35")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) @@ -12677,12 +12708,7 @@ platform-independently.") ("rust-serde" ,rust-serde-1.0) ("rust-serde-derive" ,rust-serde-derive-1.0) ("rust-serde-json" ,rust-serde-json-1.0) - ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.4)))) - (home-page "https://github.com/servo/html5ever") - (synopsis "Common code for xml5ever and html5ever") - (description - "Common code for xml5ever and html5ever.") - (license (list license:asl2.0 license:expat)))) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.4)))))) (define-public rust-markup5ever-0.8 (package |