From e2198103b104b1f72e8a3fcdee9b1ec059bce299 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 15:25:02 -0800 Subject: [PATCH 070/263] gnu: Add rust-crossbeam-0.7. * gnu/packages/crates-io.scm (rust-crossbeam-0.7): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8017ffc31c..6481b4c7ca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -893,6 +893,37 @@ It is inspired by the Linux kernel's @code{crypto_memneq}.") (description "Criterion's plotting library.") (license `(,license:expat ,license:asl2.0)))) +(define-public rust-crossbeam-0.7 + (package + (name "rust-crossbeam") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g5jysq5x4gndc1v5sq9n3f1m97k7qihwdpigw6ar6knj14qm09d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) + ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.7) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))) + (home-page + "https://github.com/crossbeam-rs/crossbeam") + (synopsis "Tools for concurrent programming") + (description "Tools for concurrent programming.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-crossbeam-channel-0.3 (package (name "rust-crossbeam-channel") -- 2.24.1