From 8d701b2cffe8b35e5f306fe8378b6df0a52b450d Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 10:49:30 -0800 Subject: gnu: Add rust-markup5ever-0.8. * gnu/packages/crates-io.scm (rust-markup5ever-0.8): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index baf7083b74..c10149e390 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4925,6 +4925,40 @@ (define-public rust-maplit-1.0 (license (list license:asl2.0 license:expat)))) +(define-public rust-markup5ever-0.8 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-phf" ,rust-phf-0.7) + ("rust-string-cache" ,rust-string-cache-0.7) + ("rust-tendril" ,rust-tendril-0.4)) + #:cargo-development-inputs + (("rust-phf-codegen" ,rust-phf-codegen-0.7) + ("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)))) + (define-public rust-matches-0.1 (package (name "rust-matches") -- cgit v1.2.3