Subject: [PATCH 12/12] gnu: Add rust-spinners-4.

From: Andrew Wong <[email-masked]>
Date: Sun, 5 Jan 2025 18:01:15 -0500

* gnu/packages/crates-shell.scm (rust-spinners-4): New variable.

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

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)))
-- 
2.47.1