gnu: Add rust-async-once-cell-0.5.

* gnu/packages/crates-io.scm (rust-async-once-cell-0.5): Add variable.

Change-Id: I9985c6dcb134628caa7924ff68247c5b4c06bb07
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-01-30 16:24:44 +01:00 committed by Efraim Flashner
parent 7ff5992165
commit 100a9a3211
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4352,6 +4352,28 @@ (define-public rust-async-net-1
"Async networking primitives for TCP/UDP/Unix communication")
(license (list license:asl2.0 license:expat))))
(define-public rust-async-once-cell-0.5
(package
(name "rust-async-once-cell")
(version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "async-once-cell" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ss2ll9r92jiv4g0fdnwqggs3dn48sakij3fg0ba95dag077jf4k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags ; Skip the doctests.
'("--release" "--lib" "--bins" "--tests")
#:cargo-inputs (("rust-critical-section" ,rust-critical-section-1))))
(home-page "https://github.com/danieldg/async-once-cell")
(synopsis "Async single assignment cells and lazy values")
(description "This package provides async single assignment cells
and lazy values.")
(license (list license:expat license:asl2.0))))
(define-public rust-async-oneshot-0.5
(package
(name "rust-async-oneshot")