[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/44: gnu: Add rust-async-lock-3.
From: |
guix-commits |
Subject: |
28/44: gnu: Add rust-async-lock-3. |
Date: |
Mon, 12 Feb 2024 07:40:42 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit c1a0b882e04c36e853b6fb5506e69cb8a2f5ce6e
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:25:13 2024 +0100
gnu: Add rust-async-lock-3.
* gnu/packages/crates-io.scm (rust-async-lock-3): Add variable.
(rust-async-lock-2): Inherit from rust-async-lock-3.
Change-Id: Ia3118ff9010282ee931aa8a421f1dd9ce63abc09
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e41718f59..009c62aaf9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4218,8 +4218,37 @@ 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-3
+ (package
+ (name "rust-async-lock")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-lock" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yxflkfw46rad4lv86f59b5z555dlfmg1riz1n8830rgi0qb8d6h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-event-listener" ,rust-event-listener-4)
+ ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.4)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
+ #:cargo-development-inputs
+ (("rust-async-channel" ,rust-async-channel-2)
+ ("rust-fastrand" ,rust-fastrand-2)
+ ("rust-futures-lite" ,rust-futures-lite-2)
+ ("rust-waker-fn" ,rust-waker-fn-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/smol-rs/async-lock")
+ (synopsis "Async synchronization primitives")
+ (description "This package provides async synchronization primitives.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-lock-2
(package
+ (inherit rust-async-lock-3)
(name "rust-async-lock")
(version "2.7.0")
(source
@@ -4229,7 +4258,6 @@ that expires at a point in time.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mrd4kai92fcgl9974dpmibiq6ja9drz41v3crvv0c27a8kzf97s"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-event-listener" ,rust-event-listener-2))
@@ -4237,11 +4265,7 @@ that expires at a point in time.")
(("rust-async-channel" ,rust-async-channel-1)
("rust-fastrand" ,rust-fastrand-1)
("rust-futures-lite" ,rust-futures-lite-1)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
- (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))))
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
(define-public rust-async-log-1
(package
- 07/44: gnu: Add rust-from-variants-impl-0.6., (continued)
- 07/44: gnu: Add rust-from-variants-impl-0.6., guix-commits, 2024/02/12
- 09/44: gnu: Add rust-notmuch-0.8., guix-commits, 2024/02/12
- 10/44: gnu: rust-gethostname-0.2: Update to 0.2.3., guix-commits, 2024/02/12
- 12/44: gnu: Add rust-libsensors-sys-0.2., guix-commits, 2024/02/12
- 13/44: gnu: Add rust-sensors-0.2., guix-commits, 2024/02/12
- 20/44: gnu: Add rust-proc-macro-crate-3., guix-commits, 2024/02/12
- 18/44: gnu: Add rust-futures-lite-2., guix-commits, 2024/02/12
- 22/44: gnu: Add rust-wayrs-scanner-0.13., guix-commits, 2024/02/12
- 23/44: gnu: Add rust-wayrs-client-1., guix-commits, 2024/02/12
- 19/44: gnu: Add rust-swayipc-async-2., guix-commits, 2024/02/12
- 28/44: gnu: Add rust-async-lock-3.,
guix-commits <=
- 31/44: gnu: Add rust-xdg-home-1., guix-commits, 2024/02/12
- 32/44: gnu: Add rust-async-signal-0.2., guix-commits, 2024/02/12
- 36/44: gnu: rust-zbus-3: Update to 3.14.1., guix-commits, 2024/02/12
- 35/44: gnu: rust-async-fs-1: Update to 1.6.0., guix-commits, 2024/02/12
- 33/44: gnu: Add rust-event-listener-3., guix-commits, 2024/02/12
- 40/44: gnu: rust-timerfd-1: Update to 1.5.0., guix-commits, 2024/02/12
- 42/44: gnu: rust-critical-section-1: Update to 1.1.2., guix-commits, 2024/02/12
- 41/44: gnu: i3status-rust: Update to 0.32.3., guix-commits, 2024/02/12