[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 37/86] gnu: Add rust-encoding.
From: |
ng0 |
Subject: |
[PATCH 37/86] gnu: Add rust-encoding. |
Date: |
Tue, 3 Jan 2017 23:35:53 +0000 |
* gnu/packages/rust.scm (rust-encoding): New variable.
---
gnu/packages/rust.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e9b2a84bf..f68e1ceb0 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1069,3 +1069,33 @@ which is providing character encoding support for Rust.")
Chinese character encodings. This package is part of the crate \"encoding\",
which is providing character encoding support for Rust.")
(license license:cc0)))
+
+(define-public rust-encoding
+ (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)
+ (native-inputs
+ `(("rust-getopts" ,rust-getopts "src")))
+ (inputs
+ `(("rust-encoding-index-japanese" ,rust-encoding-index-japanese "src")
+ ("rust-encoding-index-korean" ,rust-encoding-index-korean "src")
+ ("rust-encoding-index-simpchinese" ,rust-encoding-index-simpchinese
"src")
+ ("rust-encoding-index-singlebyte" ,rust-encoding-index-singlebyte "src")
+ ("rust-encoding-index-tradchinese" ,rust-encoding-index-tradchinese
"src")))
+ (home-page "https://github.com/lifthrasiir/rust-encoding")
+ (synopsis "Character encoding support for Rust")
+ (description
+ "@code{encoding} adds character encoding support for Rust. It is
+based on WHATWG Encoding Standard, and also provides an advanced
+interface for error detection and recovery.")
+ (license license:expat)))
--
2.11.0
- [PATCH 27/86] gnu: Add rust-num-iter., (continued)
- [PATCH 27/86] gnu: Add rust-num-iter., ng0, 2017/01/03
- [PATCH 29/86] gnu: Add rust-matches., ng0, 2017/01/03
- [PATCH 25/86] gnu: Add rust-num-traits., ng0, 2017/01/03
- [PATCH 26/86] gnu: Add rust-num-integer., ng0, 2017/01/03
- [PATCH 22/86] gnu: Add rust-bytes., ng0, 2017/01/03
- [PATCH 32/86] gnu: Add rust-encoding-index-japanese., ng0, 2017/01/03
- [PATCH 33/86] gnu: Add rust-encoding-index-korean., ng0, 2017/01/03
- [PATCH 36/86] gnu: Add rust-encoding-index-tradchinese., ng0, 2017/01/03
- [PATCH 39/86] gnu: Add rust-clippy-mini-macro-test., ng0, 2017/01/03
- [PATCH 35/86] gnu: Add rust-encoding-index-singlebyte., ng0, 2017/01/03
- [PATCH 37/86] gnu: Add rust-encoding.,
ng0 <=
- [PATCH 34/86] gnu: Add rust-encoding-index-simpchinese., ng0, 2017/01/03
- [PATCH 28/86] gnu: Add rust-openssl-sys., ng0, 2017/01/03
- [PATCH 41/86] gnu: Add rust-fnv., ng0, 2017/01/03
- [PATCH 43/86] gnu: Add rust-unicode-bidi., ng0, 2017/01/03
- [PATCH 42/86] gnu: Add rust-heapsize., ng0, 2017/01/03
- [PATCH 40/86] gnu: Add rust-unicode-normalization., ng0, 2017/01/03
- [PATCH 31/86] gnu: Add rust-encoding-index-tests., ng0, 2017/01/03
- [PATCH 38/86] gnu: Add rust-deque., ng0, 2017/01/03