guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/37: gnu: Add rust-lscolors-0.13.


From: guix-commits
Subject: 09/37: gnu: Add rust-lscolors-0.13.
Date: Thu, 9 Mar 2023 12:12:00 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9d21bd8bacc11325593526e5cd960d522b928bb7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:35:24 2023 +0200

    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.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ec324255ac..ebf4ea4c52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32834,8 +32834,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
@@ -32847,17 +32872,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]