From 100a9a3211902ee205d1a5e03729d4989bc201ef Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Tue, 30 Jan 2024 16:24:44 +0100 Subject: [PATCH] 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 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 42ec12ea40..85a8d1afd7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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")