summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-02 14:21:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-02 17:46:04 +0100
commit3c0e6923228e94751d82681f67b908eff755889e (patch)
treec2c3666949edf8001204e237df3c70cc6be58fae
parent0b300616663a77484a6b8c5e7912e9df7ddfc709 (diff)
downloadguix-3c0e6923228e94751d82681f67b908eff755889e.tar.gz
gnu: Add rust-unicode-categories-0.1.
* gnu/packages/crates-io.scm (rust-unicode-categories-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27b4815192..209b939cf3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45368,6 +45368,27 @@ Unicode and Internationalization Crates (UNIC) project.")
      "Implementation of the Unicode Bidirectional Algorithm.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-unicode-categories-0.1
+  (package
+    (name "rust-unicode-categories")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "unicode_categories" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kp1d7fryxxm7hqywbk88yb9d1avsam9sg76xh36k5qx2arj9v1r"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/swgillespie/unicode-categories")
+    (synopsis "Query Unicode category membership for chars")
+    (description
+     "unicode-categories is a simple crate that adds many extensions to the
+char type that allow for the querying if whether or not a character is
+a member of a certain category of Unicode characters.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-unicode-normalization-0.1
   (package
     (name "rust-unicode-normalization")