ngz pushed a commit to branch master
in repository guix.
commit 98e2a06f5674a1e6f33ce97c6c01c5cd7d29a7a8
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Dec 9 17:28:32 2020 +0100
gnu: Add rust-cesu8-1.
* gnu/packages/crates-io.scm (rust-cesu8-1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e458a4f..4fb950f 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")