From 5272fb23f72e1c889b97cbe306b45e397423370e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 17:00:54 +0300 Subject: [PATCH] gnu: Add rust-markup5ever-rcdom-0.2. * gnu/packages/crates-io.scm (rust-markup5ever-rcdom-0.2): New variable. (rust-markup5ever-rcdom-0.1): Inherit from rust-markup5ever-rcdom-0.2. --- gnu/packages/crates-io.scm | 61 +++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 20 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 115a50b88e..a13e95a85a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35333,30 +35333,27 @@ (define-public rust-markup5ever-0.8 (base32 "08ayl9aqjnmf7ly1ipy6dk3wjvyfn4w51l40jzh1fh984ykldbzi")))))) -(define-public rust-markup5ever-rcdom-0.1 +(define-public rust-markup5ever-rcdom-0.2 (package (name "rust-markup5ever-rcdom") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "markup5ever-rcdom" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0axf6vrms8579lvhbjaj0v7bhs8xb7s26d4sam2g3m6qpi1xl5gh")))) + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "markup5ever-rcdom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hir73wmvl0i5mfplfjg0qvxxmsn8qp5xmjkdkp813hgfpb1slmr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-html5ever" ,rust-html5ever-0.25) - ("rust-markup5ever" ,rust-markup5ever-0.10) - ("rust-tendril" ,rust-tendril-0.4) - ("rust-xml5ever" ,rust-xml5ever-0.16)) - #:cargo-development-inputs - (("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-serde-json" ,rust-serde-json-1)))) + `(#:cargo-inputs + (("rust-html5ever" ,rust-html5ever-0.26) + ("rust-markup5ever" ,rust-markup5ever-0.11) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-xml5ever" ,rust-xml5ever-0.17)) + #:cargo-development-inputs + (("rust-rustc-test" ,rust-rustc-test-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/servo/html5ever") (synopsis "Basic, unsupported DOM structure for use by tests in html5ever/xml5ever") @@ -35365,6 +35362,30 @@ (define-public rust-markup5ever-rcdom-0.1 in html5ever/xml5ever") (license (list license:expat license:asl2.0)))) +(define-public rust-markup5ever-rcdom-0.1 + (package + (inherit rust-markup5ever-rcdom-0.2) + (name "rust-markup5ever-rcdom") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "markup5ever-rcdom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0axf6vrms8579lvhbjaj0v7bhs8xb7s26d4sam2g3m6qpi1xl5gh")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-html5ever" ,rust-html5ever-0.25) + ("rust-markup5ever" ,rust-markup5ever-0.10) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-xml5ever" ,rust-xml5ever-0.16)) + #:cargo-development-inputs + (("rust-rustc-test" ,rust-rustc-test-0.3) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-match-cfg-0.1 (package (name "rust-match-cfg")