summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm40
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