From 41cf9feb6adbb1fbe769e3666064f445a9cae665 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 14 Mar 2024 13:21:39 +0200 Subject: [PATCH] gnu: Add rust-lscolors-0.17. * gnu/packages/crates-io.scm (rust-lscolors-0.17): New variable. (rust-lscolors-0.16): Inherit from rust-lscolors-0.17. Change-Id: I517a05e1bd5aae7551fe0153cc4643b4b74c362b --- gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e3e4ab54d2..ebfc9c5846 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36368,8 +36368,32 @@ image together with its neighboring pixels.") key-value pairs.") (license (list license:expat license:asl2.0)))) +(define-public rust-lscolors-0.17 + (package + (name "rust-lscolors") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lscolors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08z5jslgigvnpc1gj2i8r9pi8yn4m0pf8dzf3rk9grdidbzlyc2k")))) + (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.50)) + #: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.16 (package + (inherit rust-lscolors-0.17) (name "rust-lscolors") (version "0.16.0") (source @@ -36379,19 +36403,13 @@ key-value pairs.") (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)))) + (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-lscolors-0.13 (package