summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 17:28:32 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:27 +0100
commit98e2a06f5674a1e6f33ce97c6c01c5cd7d29a7a8 (patch)
tree83cb6e9025d0168f8a6fd7de762c6d005ffe6f0d
parent211da9ff5ff2038144a95b38766e551fe38b04ff (diff)
gnu: Add rust-cesu8-1.
* gnu/packages/crates-io.scm (rust-cesu8-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e458a4f98..4fb950f07a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3704,6 +3704,26 @@ archive to be linked into Rustcode.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cesu8-1
+ (package
+ (name "rust-cesu8")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cesu8" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g6q58wa7khxrxcxgnqyi9s1z2cjywwwd3hzr5c55wskhx6s0hvd"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/emk/cesu8-rs")
+ (synopsis "Convert to and from CESU-8 encoding")
+ (description
+ "This library implements the CESU-8 compatibility encoding scheme. This
+is a non-standard variant of UTF-8 that is used internally by some systems
+that need to represent UTF-16 data as 8-bit characters.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cexpr-0.4
(package
(name "rust-cexpr")