aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:01:48 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:29 +0100
commit65005797c070f7ef3d51f7b4796451abfc9a8254 (patch)
tree0278d1f69e0bda5b118211b803d44bc8363ec905 /gnu/packages
parent9f2426213a943ae23b1e852293b32569bca01a77 (diff)
downloadguix-65005797c070f7ef3d51f7b4796451abfc9a8254.tar
guix-65005797c070f7ef3d51f7b4796451abfc9a8254.tar.gz
gnu: Add rust-async-lock-2.
* gnu/packages/crates-io.scm (rust-async-lock-2): New variable.
Diffstat (limited to 'gnu/packages')
-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 dee97faab2..311b7c36a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2601,6 +2601,27 @@ types (and many other types) to use in async programs, and Timer, a future
that expires at a point in time.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-async-lock-2
+ (package
+ (name "rust-async-lock")
+ (version "2.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-lock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yrvnshs94aiimvprqkhcg1z7x9abzsja8f4ifcakr5x6abn15hr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-event-listener" ,rust-event-listener-2))))
+ (home-page "https://github.com/stjepang/async-lock")
+ (synopsis "Async synchronization primitives")
+ (description "This package provides Async synchronization primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-log-1
(package
(name "rust-async-log")