summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 13:06:38 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:18 +0200
commit9217494fb916d19856f3e8fcf5d287ec67ffce65 (patch)
treeaf5acd8764e2ff5b80e83860445c818738a8ab0d
parentc2f1c56a8ee16aa3588a06c5b19843c2ff9308c3 (diff)
gnu: Add rust-crossbeam-epoch-0.7.
* gnu/packages/crates-io.scm (rust-crossbeam-epoch-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbc7878d52..7f00b6b85a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -788,6 +788,37 @@ It is inspired by the Linux kernel's @code{crypto_memneq}.")
(description "Criterion's plotting library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crossbeam-epoch-0.7
+ (package
+ (name "rust-crossbeam-epoch")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-epoch" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1d408b9x82mdbnb405gw58v5mmdbj2rl28a1h7b9rmn25h8f7j84"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.4)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-memoffset" ,rust-memoffset-0.2)
+ ("rust-scopeguard" ,rust-scopeguard-0.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4))))
+ (home-page
+ "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch")
+ (synopsis "Epoch-based garbage collection")
+ (description "Epoch-based garbage collection.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crossbeam-utils-0.6
(package
(name "rust-crossbeam-utils")