Subject: [PATCH] gnu: Add vivid.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Mon, 6 Dec 2021 05:23:34 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guixers,

Here is vivid, a fancy LS_COLORS manager.

all best,

jgart

* gnu/packages/rust-apps.scm (vivid): New variable.
---
 gnu/packages/rust-apps.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5ec42201ce..7155be5306 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -809,6 +809,31 @@ (define-public rust-cbindgen-0.12
          (base32
           "13jzbmjz1bmmfr0i80hw6ar484mgabx3hbpb2ynhk0ddqi0yr58m"))))))
 
+(define-public vivid
+  (package
+    (name "vivid")
+    (version "0.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "vivid" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "01fds6dm19bqgqydaa6n051v9l4wh9rb5d6sr9akwp2cc0fs43b7"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-ansi-colours" ,rust-ansi-colours-1)
+         ("rust-clap" ,rust-clap-2)
+         ("rust-dirs" ,rust-dirs-3)
+         ("rust-lazy-static" ,rust-lazy-static-1)
+         ("rust-rust-embed" ,rust-rust-embed-5)
+         ("rust-yaml-rust" ,rust-yaml-rust-0.4))))
+    (home-page "https://github.com/sharkdp/vivid")
+    (synopsis "LS_COLORS manager")
+    (description "@code{LS_COLORS} manager with multiple themes")
+    (license (list license:expat license:asl2.0))))
+
 (define-public sniffglue
   (package
     (name "sniffglue")
-- 
2.34.0