aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 12:47:03 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:33 +0100
commit168103cf1175e8e8eba53491f26384b6c945b3bf (patch)
treebf808010b02f2062dfb9e56ca725a79ba778da8f
parent974ba2668bdeaac558e8bd84bbe81159bcf2d573 (diff)
downloadguix-168103cf1175e8e8eba53491f26384b6c945b3bf.tar.gz
guix-168103cf1175e8e8eba53491f26384b6c945b3bf.zip
gnu: Add rust-atomic-waker-1.
* gnu/packages/crates-io.scm (rust-atomic-waker-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cf839675f..9584f2bf83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1498,6 +1498,27 @@ methods.")
(description "This package provides a safe abstraction around AtomicPtr.")
(license license:asl2.0)))
+(define-public rust-atomic-waker-1
+ (package
+ (name "rust-atomic-waker")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic-waker" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ansiq5vlw684fhks2x4a4is2rqlbv50q5mi8x0fxxvx5q2p8lq6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3))))
+ (home-page "https://github.com/stjepang/atomic-waker")
+ (synopsis "Synchronization primitive for task wakeup")
+ (description
+ "This package provides a synchronization primitive for task wakeup.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-atty-0.2
(package
(name "rust-atty")