[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68819] [PATCH 30/49] gnu: Add rust-async-lock-3.
From: |
Herman Rimm |
Subject: |
[bug#68819] [PATCH 30/49] gnu: Add rust-async-lock-3. |
Date: |
Tue, 30 Jan 2024 16:25:13 +0100 |
* gnu/packages/crates-io.scm (rust-async-lock-3): Add variable.
(rust-async-lock-2): Inherit from rust-async-lock-3.
Change-Id: Ia3118ff9010282ee931aa8a421f1dd9ce63abc09
---
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 b78b040fdf..f808d92c12 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3730,8 +3730,37 @@ (define-public rust-async-io-1
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
@@ -3741,7 +3770,6 @@ (define-public rust-async-lock-2
(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))
@@ -3749,11 +3777,7 @@ (define-public rust-async-lock-2
(("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
--
2.41.0
- [bug#68819] [PATCH 46/49] gnu: Remove rust-buffering-0.3., (continued)
- [bug#68819] [PATCH 46/49] gnu: Remove rust-buffering-0.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 20/49] gnu: Add rust-futures-lite-2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 43/49] gnu: Remove rust-notmuch-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 18/49] gnu: Add rust-async-pidfd-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 49/49] gnu: Remove rust-ordered-stream-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 24/49] gnu: Add rust-wayrs-scanner-0.13., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 40/49] gnu: i3status-rust: Update to 0.32.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 34/49] gnu: Add rust-async-signal-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 38/49] gnu: rust-zbus-3: Update to 3.14.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 36/49] gnu: rust-async-process-1: Update to 1.8.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 30/49] gnu: Add rust-async-lock-3.,
Herman Rimm <=
- [bug#68819] [PATCH 27/49] gnu: Add rust-event-listener-4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3., Herman Rimm, 2024/01/30