diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-07-09 16:38:47 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-07-09 16:38:47 +0200 |
commit | e3d79da08187a3aa7c5298cb53f35dec60249852 (patch) | |
tree | 54b7d0d42b07458ad663963b9d2ec23bdb33e7dd | |
parent | 4e9fd7c81a933de8a89749a160f1f6a0e25dbae0 (diff) | |
download | guix-e3d79da08187a3aa7c5298cb53f35dec60249852.tar.gz guix-e3d79da08187a3aa7c5298cb53f35dec60249852.zip |
gnu: Add rust-html5ever-0.24.
* gnu/packages/crates-io.scm (rust-html5ever-0.24): New variable.
(rust-html5ever-0.23): Inherit from the above.
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d0a54ff8b6..fabb81d8c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> ;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> @@ -10223,10 +10223,10 @@ Hash-based Message Authentication Code}.") (("rust-libc" ,rust-libc-0.2) ("rust-winutil" ,rust-winutil-0.1)))))) -(define-public rust-html5ever-0.23 +(define-public rust-html5ever-0.24 (package (name "rust-html5ever") - (version "0.23.0") + (version "0.24.1") (source (origin (method url-fetch) @@ -10234,14 +10234,13 @@ Hash-based Message Authentication Code}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1dx8k7synrmf3fl6gcfm5q1cybfglvhc9xnvly3s5xcc0b45mrjw")))) + (base32 "1js4cr04941ld4r4fqpblvfigy75ds48qcbqhnr7nmz4l6q86m02")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-mac" ,rust-mac-0.1) - ("rust-markup5ever" ,rust-markup5ever-0.8) + ("rust-markup5ever" ,rust-markup5ever-0.9) ("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)) @@ -10256,6 +10255,31 @@ Hash-based Message Authentication Code}.") "High-performance browser-grade HTML5 parser.") (license (list license:asl2.0 license:expat)))) +(define-public rust-html5ever-0.23 + (package/inherit rust-html5ever-0.24 + (name "rust-html5ever") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "html5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx8k7synrmf3fl6gcfm5q1cybfglvhc9xnvly3s5xcc0b45mrjw")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-mac" ,rust-mac-0.1) + ("rust-markup5ever" ,rust-markup5ever-0.8) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-rustc-test" ,rust-rustc-test-0.3) + ("rust-typed-arena" ,rust-typed-arena-1.4)))))) + (define-public rust-http-0.2 (package (name "rust-http") |