diff mbox series

[bug#69257,rust-team,v3,30/75] gnu: Add rust-html2pango-0.6.

Message ID 02055c4e076f35e8a06d3af2595bd7aaa234ded7.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-io.scm (rust-html2pango-0.6): Add variable.

Change-Id: Ic0f7cd33874cc960fd1afb5fcca7d3cf8b6ceea0
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d1fb01dc3..72cd4a323b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32557,6 +32557,35 @@  (define-public rust-html-escape-0.2
 characters in HTML, decoding and unescaping HTML entities as well.")
     (license license:expat)))
 
+(define-public rust-html2pango-0.6
+  (package
+    (name "rust-html2pango")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "html2pango" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06q9r04n2knq0nr8g2xb7n791cg217r1fi59h4zh6f057k663w55"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-ammonia" ,rust-ammonia-3)
+                       ("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-html5ever" ,rust-html5ever-0.26)
+                       ("rust-linkify" ,rust-linkify-0.9)
+                       ("rust-maplit" ,rust-maplit-1)
+                       ("rust-markup5ever-rcdom" ,rust-markup5ever-rcdom-0.2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-regex" ,rust-regex-1))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+    (home-page "https://gitlab.gnome.org/World/html2pango")
+    (synopsis "Library to convert html to pango")
+    (description
+      "This package provides a library to convert html to pango.")
+    (license license:gpl3+)))
+
 (define-public rust-html5ever-0.26
   (package
     (name "rust-html5ever")