summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 09:46:40 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:14 +0200
commit0533bf006d776178b037bd727f149c4080513ca0 (patch)
tree20b088417426416859e31e6a610e1f188b4e4d0f
parentb96b4d3e267ca2d3bf2394f40c9af1b92ff338f7 (diff)
gnu: Add rust-utf8-ranges-1.0.
* gnu/packages/crates-io.scm (rust-utf8-ranges-1.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94b1a8d2ab..cd38f33b51 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5076,6 +5076,32 @@ untrusted inputs in Rust.")
(properties '((hidden? . #t)))
(license license:isc)))
+(define-public rust-utf8-ranges-1.0
+ (package
+ (name "rust-utf8-ranges")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "utf8-ranges" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ppzjsxmv1p1xfid8wwn07ciikk84k30frl28bwsny6za1vall4x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.8))))
+ (home-page "https://github.com/BurntSushi/utf8-ranges")
+ (synopsis
+ "Convert ranges of Unicode codepoints to UTF-8 byte ranges")
+ (description
+ "Convert ranges of Unicode codepoints to UTF-8 byte ranges.")
+ (license (list license:expat license:unlicense))))
+
(define-public rust-vcpkg-0.2
(package
(name "rust-vcpkg")