mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add rust-html-escape.
* gnu/packages/crates-io.scm (rust-html-escape-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
9c65a97a2f
commit
29d66d10c5
1 changed files with 24 additions and 0 deletions
|
@ -27381,6 +27381,30 @@ (define-public rust-htmlescape-0.3
|
||||||
"This package provides a library for HTML entity encoding and decoding.")
|
"This package provides a library for HTML entity encoding and decoding.")
|
||||||
(license (list license:asl2.0 license:expat license:mpl2.0))))
|
(license (list license:asl2.0 license:expat license:mpl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-html-escape-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-html-escape")
|
||||||
|
(version "0.2.9")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "html-escape" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1dxw9lpckrqzzqgbkw64ckbajr4b7xxnjdn8adgzqf2mm40shvl1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-utf8-width" ,rust-utf8-width-0.1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-bencher" ,rust-bencher-0.1))))
|
||||||
|
(home-page "https://magiclen.org/html-escape")
|
||||||
|
(synopsis "Library for encoding and escaping special characters in HTML")
|
||||||
|
(description
|
||||||
|
"This package provides a library for encoding and escaping special
|
||||||
|
characters in HTML, decoding and unescaping HTML entities as well.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-http-0.2
|
(define-public rust-http-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-http")
|
(name "rust-http")
|
||||||
|
|
Loading…
Reference in a new issue