From 6bb934340e6ce1eaf884a41a6432be56b8b41526 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Dec 2020 10:07:47 +0100 Subject: gnu: Add rust-crossbeam-utils-0.8. * gnu/packages/crates-io.scm (rust-crossbeam-utils-0.8): New variable. (rust-crossbeam-utils-0.7): Inherit from above. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f84d8f5054..367270bc65 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6534,8 +6534,35 @@ criterion.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) +(define-public rust-crossbeam-utils-0.8 + (package + (name "rust-crossbeam-utils") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13fvrqlap7bgvlnpqr5gjcxdhx1jv99pkfg5xdlq5xcy30g6vn82")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-autocfg" ,rust-autocfg-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-lazy-static" ,rust-lazy-static-1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.7)))) + (home-page + "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") + (synopsis "Utilities for concurrent programming") + (description + "This crate provides miscellaneous tools for concurrent programming.") + (license (list license:expat license:asl2.0)))) + (define-public rust-crossbeam-utils-0.7 (package + (inherit rust-crossbeam-utils-0.8) (name "rust-crossbeam-utils") (version "0.7.2") (source @@ -6547,20 +6574,13 @@ criterion.") (sha256 (base32 "1a31wbrda1320gj2a6az1lin2d34xfc3xf88da4c17qy5lxcgiy3")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) ("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-lazy-static" ,rust-lazy-static-1)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))) - (home-page - "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") - (synopsis "Utilities for concurrent programming") - (description - "Utilities for concurrent programming.") - (license (list license:expat license:asl2.0)))) + (("rust-rand" ,rust-rand-0.6)))))) (define-public rust-crossbeam-utils-0.6 (package -- cgit v1.2.3