From 337b34e917bfda9beeb2dc5b9ff4fb30e1ba4382 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:32:33 +0200 Subject: [PATCH] gnu: Add rust-prodash-28. * gnu/packages/crates-io.scm (rust-prodash-28): New variable. (rust-prodash-26): Inherit from rust-prodash-28. Change-Id: I8bbf16a2a54c2233a9e94bdfcb8dde816fcc488c --- gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f8b13140ff..f7dbe7cfd1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54208,8 +54208,59 @@ macro use case.") "This package provides a procedural macro implementation of quote!.") (license (list license:expat license:asl2.0)))) +(define-public rust-prodash-28 + (package + (name "rust-prodash") + (version "28.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "prodash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y9d16s79168rc5k2djjb16vjcx27yargbfb6xz6m2mq4r6jcjkl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-io" ,rust-async-io-2) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crosstermion" ,rust-crosstermion-0.13) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-human-format" ,rust-human-format-1) + ("rust-humantime" ,rust-humantime-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-ratatui" ,rust-ratatui-0.25) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-time" ,rust-time-0.3) + ("rust-tui-react" ,rust-tui-react-0.22) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) + ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-io" ,rust-async-io-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/Byron/prodash") + (synopsis + "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") + (description + "This package provides a dashboard for visualizing the progress of asynchronous +and possibly blocking tasks.") + (license license:expat))) + (define-public rust-prodash-26 (package + (inherit rust-prodash-28) (name "rust-prodash") (version "26.2.2") (source @@ -54219,7 +54270,6 @@ macro use case.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kxvsxyh79qz524vl0r50svga84fcax4ngpcvkf576yiwbw5njvr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) ("rust-bytesize" ,rust-bytesize-1) @@ -54250,14 +54300,7 @@ macro use case.") ("rust-futures-util" ,rust-futures-util-0.3) ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/Byron/prodash") - (synopsis - "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") - (description - "This package provides a dashboard for visualizing the progress of asynchronous -and possibly blocking tasks.") - (license license:expat))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-prodash-25 (package