Subject: [bug#46192] [PATCH 15/22] gnu: Add rust-crossbeam-0.2.

From: aecepoglu <[email-masked]>
Date: Sat, 30 Jan 2021 17:33:27 +0300

* gnu/packages/crates-io.scm (rust-crossbeam-0.2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b8a69d77f1..e48dfec61c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7392,6 +7392,27 @@ criterion.")
         ("rust-num-complex" ,rust-num-complex-0.2)
         ("rust-rand" ,rust-rand-0.4))))))
 
+(define-public rust-crossbeam-0.2
+  (package
+    (name "rust-crossbeam")
+    (version "0.2.12")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "crossbeam" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1gmrayc93lygb8v62bj0c5zwyflvj5bli7ari650k259nlyncrmx"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page
+      "https://github.com/crossbeam-rs/crossbeam")
+    (synopsis "Tools for concurrent programming")
+    (description "Tools for concurrent programming")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-crossbeam-0.7
   (package
     (name "rust-crossbeam")
-- 
2.30.0