summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-03-09 16:35:24 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:21 +0300
commit7bce48cf38b1c7d4a22c031b2d0460a53540739d (patch)
tree88d880e213454a1e97c3c1ee079adbc1ce5fff52
parentcdee2a3b61f7d6e74fecea4fb2673096ca3135bf (diff)
downloadguix-7bce48cf38b1c7d4a22c031b2d0460a53540739d.tar.gz
gnu: Add rust-lscolors-0.13.
* gnu/packages/crates-io.scm (rust-lscolors-0.13): New variable.
(rust-lscolors-0.7): Inherit from rust-lscolors-0.13.
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfe926c632..05f58b4517 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33003,8 +33003,33 @@ image together with its neighboring pixels.")
 key-value pairs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lscolors-0.13
+  (package
+    (name "rust-lscolors")
+    (version "0.13.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "lscolors" version))
+              (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))))
+
 (define-public rust-lscolors-0.7
   (package
+    (inherit rust-lscolors-0.13)
     (name "rust-lscolors")
     (version "0.7.1")
     (source
@@ -33016,17 +33041,11 @@ key-value pairs.")
        (sha256
         (base32
          "0vn1824lagf0xdv5rxyl7m9fbrcylyjibmnd4634dnn98m68jjyj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12))
        #: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