guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71914] [PATCH 03/10] gnu: Add rust-html5ever-0.27.


From: Nguyễn Gia Phong
Subject: [bug#71914] [PATCH 03/10] gnu: Add rust-html5ever-0.27.
Date: Wed, 3 Jul 2024 16:57:54 +0900

* gnu/packages/crates-io.scm (rust-html5ever-0.27): New variable.
(rust-html5ever-0.26): Inherit from rust-html5ever-0.27.

Change-Id: Ifdcd7fb83fede8dc0af68af0e7f96e6b06a027db
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b78a80fc0a02..85b87e39f8c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28893,35 +28893,60 @@ (define-public rust-hound-3
     (description "This package provides a wav encoding and decoding library.")
     (license license:asl2.0)))
 
-(define-public rust-html5ever-0.26
+(define-public rust-html5ever-0.27
   (package
     (name "rust-html5ever")
-    (version "0.26.0")
+    (version "0.27.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "html5ever" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my"))))
+                "1m24sbpk572f5qhhkj4kkxvsd64rn968s0vxwvqlds76w2pp2dy1"))))
     (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.11)
+        ("rust-markup5ever" ,rust-markup5ever-0.12)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))
+        ("rust-syn" ,rust-syn-2))
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-typed-arena" ,rust-typed-arena-1))))
+        ("rust-typed-arena" ,rust-typed-arena-2))))
     (home-page "https://github.com/servo/html5ever";)
     (synopsis "High-performance browser-grade HTML5 parser")
     (description
      "This package provides a high-performance browser-grade HTML5 parser.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-html5ever-0.26
+  (package
+    (inherit rust-html5ever-0.27)
+    (name "rust-html5ever")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "html5ever" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my"))))
+    (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.11)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-typed-arena" ,rust-typed-arena-1))))))
+
 (define-public rust-html5ever-0.25
   (package
     (inherit rust-html5ever-0.26)
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]