@@ -32459,6 +32459,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")