guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/12: gnu: Add rust-unicode-ident-1.


From: guix-commits
Subject: 01/12: gnu: Add rust-unicode-ident-1.
Date: Thu, 1 Sep 2022 13:01:10 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit 54edeef896aace666fed24b7e3b11dd3b17c3297
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Sep 1 17:21:52 2022 +0200

    gnu: Add rust-unicode-ident-1.
    
    * gnu/packages/crates-io.scm (rust-unicode-ident-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 4fcffee5ea..5a27a40a61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69370,6 +69370,34 @@ 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-ident-1
+  (package
+    (name "rust-unicode-ident")
+    (version "1.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "unicode-ident" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1bqswc96ws8l6k7xx56dg521a3l5imi3mhlcz7rsi6a92mxb7xf4"))))
+    (build-system cargo-build-system)
+    ;; Most development inputs are competing implementations
+    ;; for benchmarks.
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/dtolnay/unicode-ident";)
+    (synopsis "Implementation of Unicode Standard Annex #31")
+    (description
+     "This package lets you determine whether characters have the
+@code{XID_Start} or @code{XID_Continue} properties according to Unicode
+Standard Annex #31.")
+    ;; For data derived from Unicode Character Database the unicode license
+    ;; applies; for everything else the user may choose between Expat and
+    ;; ASL2.0.
+    (license (list license:expat license:asl2.0
+                   license:unicode))))
+
 (define-public rust-unicode-linebreak-0.1
   (package
     (name "rust-unicode-linebreak")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]