summary refs log tree commit diff
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2019-09-03 01:16:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-09-03 11:23:01 +0300
commitbe2309ec7b901b4f639d05a8f2b53c438a64fd75 (patch)
treedb68cf2fb9da3346c811f12b789cc4f3bda4dc11
parent655ac50d3cf7e3276b28f989e25e40323663faf6 (diff)
downloadguix-be2309ec7b901b4f639d05a8f2b53c438a64fd75.tar.gz
gnu: rust-unicode-xid: Update to 0.2.0.
* gnu/packages/crates-io.scm (rust-unicode-xid): Update to 0.2.0.
(rust-unicode-xid-0.1): New variable.
(rust-proc-macro2)[arguments]: Specify rust-unicode-xid-0.1 in
cargo-inputs.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27596cee02..ebd3d4ded1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1462,7 +1462,7 @@ for x86.")
             "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
     (build-system cargo-build-system)
     (arguments
-      `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid))
+      `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
         #:cargo-development-inputs (("rust-quote" ,rust-quote))))
     (home-page "https://github.com/alexcrichton/proc-macro2")
     (synopsis "Stable implementation of the upcoming new `proc_macro` API")
@@ -2430,7 +2430,7 @@ with the Unicode character database.")
 (define-public rust-unicode-xid
   (package
     (name "rust-unicode-xid")
-    (version "0.1.0")
+    (version "0.2.0")
     (source
       (origin
         (method url-fetch)
@@ -2438,8 +2438,8 @@ with the Unicode character database.")
         (file-name
           (string-append name "-" version ".tar.gz"))
         (sha256
-          (base32
-            "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))
+         (base32
+          "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
     (build-system cargo-build-system)
     (home-page
       "https://github.com/unicode-rs/unicode-xid")
@@ -2449,6 +2449,20 @@ or XID_Continue properties according to Unicode Standard Annex #31.")
     ;; Dual licensed.
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-unicode-xid-0.1
+  (package
+    (inherit rust-unicode-xid)
+    (name "rust-unicode-xid")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "unicode-xid" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
+
 (define-public rust-unindent
   (package
     (name "rust-unindent")