aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 07:53:34 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:52 +0200
commit205bb721aad1745b086382080e91078d4e6b8a63 (patch)
tree1a2f42dd8ed0314ff458eeaf4cd5162d41c1bb54
parent09486a9f7b14a3b0064914fa60d4efd14df1260c (diff)
downloadguix-205bb721aad1745b086382080e91078d4e6b8a63.tar
guix-205bb721aad1745b086382080e91078d4e6b8a63.tar.gz
gnu: Add rust-encoding-0.2.
* gnu/packages/crates-io.scm (rust-encoding-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3f788a9ae..fb7bea0f24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2177,6 +2177,42 @@ floating-point primitives to an @code{io::Write}.")
char, u8 and u16.")
(license (list license:expat license:asl2.0))))
+(define-public rust-encoding-0.2
+ (package
+ (name "rust-encoding")
+ (version "0.2.33")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "encoding" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1v1ndmkarh9z3n5hk53da4z56hgk9wa5kcsm7cnx345raqw983bb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-encoding-index-japanese"
+ ,rust-encoding-index-japanese-1.20141219)
+ ("rust-encoding-index-korean"
+ ,rust-encoding-index-korean-1.20141219)
+ ("rust-encoding-index-simpchinese"
+ ,rust-encoding-index-simpchinese-1.20141219)
+ ("rust-encoding-index-singlebyte"
+ ,rust-encoding-index-singlebyte-1.20141219)
+ ("rust-encoding-index-tradchinese"
+ ,rust-encoding-index-tradchinese-1.20141219))
+ #:cargo-development-inputs
+ (("rust-getopts" ,rust-getopts-0.2))))
+ (home-page
+ "https://github.com/lifthrasiir/rust-encoding")
+ (synopsis "Character encoding support for Rust")
+ (description
+ "Character encoding support for Rust.")
+ (license license:expat)))
+
(define-public rust-encoding-index-japanese-1.20141219
(package
(name "rust-encoding-index-japanese")