summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-11-09 19:37:59 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:44 +0200
commita2c84bfe7c9949556b0541129013c1135a5b6dfe (patch)
treeb9b7428c3a432a20e417b2b9fb1e8bf7d0abb7a4 /gnu/packages
parentd753e826fcf7d87c4e3570658300bcfa750c2940 (diff)
downloadguix-a2c84bfe7c9949556b0541129013c1135a5b6dfe.tar.gz
gnu: Add rust-prodash-26.
gnu/packages/crate-io.scm (rust-prodash-26): New variable.
(rust-prodash-25): Inherit from rust-prodash-26.

Change-Id: I7c5dc1da92eff338376c6af68718eee85a190489
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm62
1 files changed, 53 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d040c25955..0189af1857 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56295,8 +56295,60 @@ macro use case.")
 @code{proc_macro_derive} pretend to be @code{proc_macro}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-prodash-26
+  (package
+    (name "rust-prodash")
+    (version "26.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "prodash" version))
+       (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)
+                       ("rust-compound-duration" ,rust-compound-duration-1)
+                       ("rust-crosstermion" ,rust-crosstermion-0.11)
+                       ("rust-ctrlc" ,rust-ctrlc-3)
+                       ("rust-dashmap" ,rust-dashmap-5)
+                       ("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-lite" ,rust-futures-lite-1)
+                       ("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.20)
+                       ("rust-signal-hook" ,rust-signal-hook-0.3)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tui-react" ,rust-tui-react-0.20)
+                       ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1))
+       #:cargo-development-inputs(("rust-argh" ,rust-argh-0.1) ; >0.1.3
+                                  ("rust-asyn-executor" ,rust-async-executor-1)
+                                  ("rust-async-io" ,rust-async-io-1)
+                                  ("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-25
   (package
+    (inherit rust-prodash-26)
     (name "rust-prodash")
     (version "25.0.2")
     (source
@@ -56306,7 +56358,6 @@ macro use case.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1xva91iks58431asnsx3lfqyr4z4fvvkrc2b582llalr411fnrqx"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-async-io" ,rust-async-io-1)
@@ -56339,14 +56390,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 progress of asynchronous and
-possibly blocking tasks.")
-    (license license:expat)))
+        ("rust-rand" ,rust-rand-0.8))))))
 
 (define-public rust-progress-0.2
   (package