summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJaeme Sifat <jaeme@runbox.com>2024-01-20 12:55:22 -0500
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:54 +0200
commitae64759c74414d3379119407f9ec7f2bcf90643a (patch)
tree6f9318f27fa2e7ca5f55a2601e4c342f675d7282 /gnu/packages
parenta36c15171af79338e4201527c33ac7a56688b184 (diff)
downloadguix-ae64759c74414d3379119407f9ec7f2bcf90643a.tar.gz
gnu: Add rust-lscolors-0.16.
* gnu/packages/crates-io.scm (rust-lscolors-0.16): New variable.
(rust-lscolors-0.13): Inherit from rust-lscolors-0.16.

Change-Id: Iff76a842edf3a2f54626ccf1b67390a1f589e88c
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a58889380d..98d6c56c25 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38812,8 +38812,34 @@ image together with its neighboring pixels.")
 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
@@ -38822,19 +38848,13 @@ key-value pairs.")
               (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