summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-20 08:31:56 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:17:00 +0200
commit0c5b3abe7b41b010c5777b876d1e0f6171e2b7df (patch)
tree5f9eebb7b1b2817a1e202c47be36be8d93075e2d
parent6691d93d92ac1128ef7d269d500ca89cc6d6bfe7 (diff)
gnu: Add rust-utf-8-0.7.
* gnu/packges/crates-io.scm (rust-utf-8-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1584805b37..660605314e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11178,6 +11178,28 @@ untrusted inputs in Rust.")
"URL library for Rust, based on the WHATWG URL Standard.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-utf-8-0.7
+ (package
+ (name "rust-utf-8")
+ (version "0.7.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "utf-8" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iw5rp4i3mfi9k51picbr5bgjqhjcmnxx7001clh5ydq31y2zr05"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/SimonSapin/rust-utf8")
+ (synopsis
+ "Incremental, zero-copy UTF-8 decoding with error handling")
+ (description
+ "Incremental, zero-copy UTF-8 decoding with error handling.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-utf8-ranges-1.0
(package
(name "rust-utf8-ranges")