From 0e9fc12fcc9a748a67666290e7c9ba70035998c3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 08:15:01 -0800 Subject: [PATCH 163/263] gnu: Add rust-unicode-normalization-0.1. * gnu/packages/crates-io.scm (rust-unicode-normalization-0.1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 37b62679c0..6bdbef0b12 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8648,6 +8648,34 @@ with the Unicode character database.") "Implementation of the Unicode Bidirectional Algorithm.") (license `(,license:asl2.0 ,license:expat)))) +(define-public rust-unicode-normalization-0.1 + (package + (name "rust-unicode-normalization") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-normalization" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09i49va90rvia1agvgni4gicnqv50y5zy1naw8mr8bcqifh3j4ql")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-smallvec" ,rust-smallvec-0.6)))) + (home-page + "https://github.com/unicode-rs/unicode-normalization") + (synopsis + "This crate provides functions for normalization of Unicode strings") + (description + "This crate provides functions for normalization of Unicode strings, +including Canonical and Compatible Decomposition and Recomposition, as +described in Unicode Standard Annex #15.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-unicode-width-0.1 (package (name "rust-unicode-width") -- 2.24.1