From fbc5a8696cd466fc37f9daa28bf859f67854cfb1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 25 Dec 2024 17:26:47 +0200 Subject: [PATCH] gnu: Add rust-smol-potat-1. * gnu/packages/crates-io.scm (rust-smol-potat-1): New variable. Change-Id: I91a8cf931fe00a4be509b091131dfeda2dc9cb26 --- 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 c05cc5ffb8..84fed2efbe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79774,6 +79774,28 @@ (define-public rust-smol-0.1 ("rust-piper" ,rust-piper-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-smol-potat-1 + (package + (name "rust-smol-potat") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "smol-potat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13nqzzqjscav3flc9jhwiabw8vnb22mv2accgilsn3swmxhzlkw9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-smol-potat-macro" ,rust-smol-potat-macro-0.6)) + #:cargo-development-inputs (("rust-smol" ,rust-smol-1)))) + (home-page "https://github.com/wusyong/smol-potat") + (synopsis "Proc macro for smol runtime") + (description "This package provides a proc macro for smol runtime.") + (license (list license:expat license:asl2.0)))) + (define-public rust-smol-potat-macro-0.6 (package (name "rust-smol-potat-macro")