[bug#75391,12/12] gnu: Add rust-spinners-4.

Message ID acb52a13cc7d6957a5956947a7a83c221e2e01e9.1736117350.git.wongandj@icloud.com
State New
Headers
Series gnu: Add wallust. |

Commit Message

Andrew Wong Jan. 5, 2025, 11:01 p.m. UTC
  * gnu/packages/crates-shell.scm (rust-spinners-4): New variable.

Change-Id: I04666a1b0edf7cbceba845950b1e8ea5634a761b
---
 gnu/packages/crates-shell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-shell.scm b/gnu/packages/crates-shell.scm
index ee5344183c..c3db985261 100644
--- a/gnu/packages/crates-shell.scm
+++ b/gnu/packages/crates-shell.scm
@@ -1130,3 +1130,25 @@  (define-public rust-reedline-0.38
      "This package provides a readline-like crate for CLI text input.")
     (license license:expat)))
 
+(define-public rust-spinners-4
+  (package
+    (name "rust-spinners")
+    (version "4.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "spinners" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10jgzdy6x79ipnfhavn46zbg4hlx98mcfr7p4f4j774b6mzr9vx0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-maplit" ,rust-maplit-1)
+                       ("rust-strum" ,rust-strum-0.24))))
+    (home-page "https://github.com/fgribreau/spinners")
+    (synopsis "🛎 60+ Elegant terminal spinners for Rust")
+    (description
+     "This package provides 🛎 60+ Elegant terminal spinners for Rust.")
+    (license license:expat)))