guix-patches
[Top][All Lists]
Advanced

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

[bug#71076] [PATCH 64/81] gnu: Add rust-html5ever-0.27.


From: Herman Rimm
Subject: [bug#71076] [PATCH 64/81] gnu: Add rust-html5ever-0.27.
Date: Mon, 20 May 2024 10:59:09 +0200

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

Change-Id: I47c692b8dc4184de5cfeccd9b29e8f7661e122df
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fa4acd9c6b..96828a5d8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32847,8 +32847,39 @@ (define-public rust-html2pango-0.6
       "This package provides a library to convert html to pango.")
     (license license:gpl3+)))
 
+(define-public rust-html5ever-0.27
+  (package
+    (name "rust-html5ever")
+    (version "0.27.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "html5ever" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "1m24sbpk572f5qhhkj4kkxvsd64rn968s0vxwvqlds76w2pp2dy1"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs (list rust-log-0.4
+                           rust-mac-0.1
+                           rust-markup5ever-0.12
+                           rust-proc-macro2-1
+                           rust-quote-1
+                           rust-syn-2)
+      #:cargo-development-inputs (list rust-criterion-0.3
+                                       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
@@ -32869,12 +32900,7 @@ (define-public rust-html5ever-0.26
         ("rust-syn" ,rust-syn-1))
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-typed-arena" ,rust-typed-arena-1))))
-    (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))))
+        ("rust-typed-arena" ,rust-typed-arena-1))))))
 
 (define-public rust-html5ever-0.25
   (package
-- 
2.41.0






reply via email to

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