summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:08:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-10-23 10:44:01 +0300
commit0f48c1fed88a21478f5357ba4e8214a3884cc8c2 (patch)
treec4b0708dc06fd017f7f6404b6e4a38e68598f916
parent21bd039800b209b9d68b2074be7f4258f092a7b0 (diff)
downloadguix-0f48c1fed88a21478f5357ba4e8214a3884cc8c2.tar.gz
gnu: Add rust-unicode-xid-0.2.
* gnu/packages/rust-cbindgen.scm (rust-unicode-xid-0.2): New hidden
variable.
-rw-r--r--gnu/packages/rust-cbindgen.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index b0b771ec62..22621d5f7e 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -839,3 +839,23 @@ serializing Rust structures.")
     (properties '((hidden? . #t)))
     (license (list license:asl2.0
                    license:expat))))
+
+(define rust-unicode-xid-0.2
+  (package
+    (name "rust-unicode-xid")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "unicode-xid" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/unicode-rs/unicode-xid")
+    (synopsis "Determine Unicode XID related properties")
+    (description "Determine whether characters have the XID_Start
+or XID_Continue properties according to Unicode Standard Annex #31.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0 license:expat))))