summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:16:09 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:31 +0100
commit564a85a0ab7fc469b4fb54766881793114b5ae0d (patch)
tree65a6f9ccfdbbff53cbe15bb1358900f7314b5d70
parent499ad2c4bd1dd1072bb42f01feaaaebd2abe777b (diff)
downloadguix-564a85a0ab7fc469b4fb54766881793114b5ae0d.tar.gz
gnu: Add rust-htmlescape-0.3.
* gnu/packages/crates-io.scm (rust-htmlescape-0.3): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d0537a048..1cba4b8822 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17067,6 +17067,25 @@ Authentication Code Algoritm (HMAC) for SHA1.")
         ("rust-rustc-test" ,rust-rustc-test-0.3)
         ("rust-typed-arena" ,rust-typed-arena-1))))))
 
+(define-public rust-htmlescape-0.3
+  (package
+    (name "rust-htmlescape")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "htmlescape" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qria8paf19qy5sgzzk3iiii9fp2j7spbhqf0zjxwrg7v9c500p9"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/veddan/rust-htmlescape")
+    (synopsis "Library for HTML entity encoding and decoding")
+    (description
+     "This package provides a library for HTML entity encoding and decoding.")
+    (license (list license:asl2.0 license:expat license:mpl2.0))))
+
 (define-public rust-http-0.2
   (package
     (name "rust-http")