guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

157/272: gnu: Add rust-async-lock-2.


From: guix-commits
Subject: 157/272: gnu: Add rust-async-lock-2.
Date: Sat, 13 Feb 2021 05:54:44 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 65005797c070f7ef3d51f7b4796451abfc9a8254
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:01:48 2021 +0100

    gnu: Add rust-async-lock-2.
    
    * gnu/packages/crates-io.scm (rust-async-lock-2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dee97fa..311b7c3 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]