diff options
author | aecepoglu <aecepoglu@fastmail.fm> | 2021-02-04 14:38:17 +0300 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-04 15:48:30 +0100 |
commit | b3d7372ab7c9c502f08ecfb4d9aecc73791b512a (patch) | |
tree | a490316737d4352e07cc90eb2290ffc104fe5e5b | |
parent | 1e7d27799551715bd5999371288b19417df09167 (diff) | |
download | guix-b3d7372ab7c9c502f08ecfb4d9aecc73791b512a.tar guix-b3d7372ab7c9c502f08ecfb4d9aecc73791b512a.tar.gz |
gnu: Add rust-adaptive-barrier-0.1.
* gnu/packages/crates-io.scm (rust-adaptive-barrier-0.1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4cde5f3a4..24c701aee4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -759,6 +759,28 @@ Rust.") (description "This package provides Actix web proc macros.") (license (list license:expat license:asl2.0)))) +(define-public rust-adaptive-barrier-0.1 + (package + (name "rust-adaptive-barrier") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "adaptive-barrier" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "003ygsiqsd85v0p846q1ym23dbp4iagn89p7k6yrvbg9di1mbjqc")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/vorner/adaptive-barrier") + (synopsis "Barrier with adaptable number of thread subsciptions") + (description + "This is a Barrier synchronization primitive, similar to +@code{std::sync::Barrier}, but one that adjusts the expected number of +threads. This makes it robust in face of panics (it won't make your program +deadlock, like the standard Barrier).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-addr2line-0.11 (package (name "rust-addr2line") |