Subject: [PATCH 04/13] gnu: Add rust-lscolors-0.16.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 20 Jan 2024 12:55:22 -0500

* gnu/packages/crates-io.scm (rust-lscolors-0.16): New variable.

Change-Id: Iff76a842edf3a2f54626ccf1b67390a1f589e88c
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cbe01f2985..cf0a752a73 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38814,8 +38814,34 @@ (define-public rust-lru-cache-0.1
 key-value pairs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lscolors-0.16
+  (package
+    (name "rust-lscolors")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lscolors" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yqfym0lfdkj0f7lpvd0a0brljs7cpknyh14c202frcpqfg202xb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-crossterm" ,rust-crossterm-0.27)
+        ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49))
+       #:cargo-development-inputs
+       (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/sharkdp/lscolors")
+    (synopsis "Colorize paths using the LS_COLORS environment variable")
+    (description
+     "Colorize paths using the LS_COLORS environment variable.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-lscolors-0.13
   (package
+    (inherit rust-lscolors-0.16)
     (name "rust-lscolors")
     (version "0.13.0")
     (source (origin
@@ -38824,19 +38850,13 @@ (define-public rust-lscolors-0.13
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 "1wnxs5d004fx71apvh9124xqky0qjjmpibag24km7bvvss2xrpn2"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12)
         ("rust-crossterm" ,rust-crossterm-0.25)
         ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46))
        #:cargo-development-inputs
-       (("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/sharkdp/lscolors")
-    (synopsis "Colorize paths using the LS_COLORS environment variable")
-    (description
-     "Colorize paths using the LS_COLORS environment variable.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-lsp-types-0.91
   (package
-- 
2.41.0