gnu: eza: Update to 0.18.7.

* gnu/packages/rust-apps.scm (eza): Update to 0.18.7.
[cargo-inputs]: Add rust-ansi-width-0.1, rust-path-clean-1,
rust-rayon-1.  Replace rust-uutils-term-grid-0.3 with 0.6.  Remove
rust-num-cpus-1, rust-scoped-threadpool-0.1.
[cargo-development-inputs]: Replace rust-trycmd-0.14 with 0.15.
[arguments]: Also build and install another manpage.

Change-Id: I089aeec38b56a2d844851dbe21482ad8f78d7da7
This commit is contained in:
Efraim Flashner 2024-03-17 14:36:11 +02:00
parent 50041ae123
commit aa47b07718
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -545,19 +545,20 @@ (define-public emacs-lsp-booster
(define-public eza
(package
(name "eza")
(version "0.17.0")
(version "0.18.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "eza" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "026xagh42nrdy2yg9197mmb2bhm5mdvbf9vd9fk9iysrj1iay63r"))))
(base32 "1wnkbzaza0bcw5rld3baikpwwvnajz3j6nbpaic5mhv86rshqlcq"))))
(build-system cargo-build-system)
(arguments
(list
#:install-source? #f
#:cargo-inputs `(("rust-ansiterm" ,rust-ansiterm-0.12)
#:cargo-inputs `(("rust-ansi-width" ,rust-ansi-width-0.1)
("rust-ansiterm" ,rust-ansiterm-0.12)
("rust-chrono" ,rust-chrono-0.4)
("rust-git2" ,rust-git2-0.18)
("rust-glob" ,rust-glob-0.3)
@ -565,24 +566,24 @@ (define-public eza
("rust-locale" ,rust-locale-0.2)
("rust-log" ,rust-log-0.4)
("rust-natord" ,rust-natord-1)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-number-prefix" ,rust-number-prefix-0.4)
("rust-once-cell" ,rust-once-cell-1)
("rust-palette" ,rust-palette-0.7)
("rust-path-clean" ,rust-path-clean-1)
("rust-percent-encoding" ,rust-percent-encoding-2)
("rust-phf" ,rust-phf-0.11)
("rust-plist" ,rust-plist-1)
("rust-proc-mounts" ,rust-proc-mounts-0.3)
("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
("rust-rayon" ,rust-rayon-1)
("rust-terminal-size" ,rust-terminal-size-0.3)
("rust-timeago" ,rust-timeago-0.4)
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-uutils-term-grid" ,rust-uutils-term-grid-0.3)
("rust-uutils-term-grid" ,rust-uutils-term-grid-0.6)
("rust-uzers" ,rust-uzers-0.11)
("rust-windows-sys" ,rust-windows-sys-0.52)
("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5))
#:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5)
("rust-trycmd" ,rust-trycmd-0.14))
("rust-trycmd" ,rust-trycmd-0.15))
#:phases #~(modify-phases %standard-phases
(add-after 'build 'build-manual
(lambda* (#:key inputs #:allow-other-keys)
@ -594,7 +595,9 @@ (define-public eza
"-f" "markdown"
"-t" "man"
(string-append "man/" page ".md")))))
(list "eza.1" "eza_colors.5")))))
(list "eza.1"
"eza_colors.5"
"eza_colors-explanation.5")))))
(add-after 'install 'install-extras
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -611,6 +614,8 @@ (define-public eza
(install-file "eza.1" man1))
(when (file-exists? "eza_colors.5")
(install-file "eza_colors.5" man5))
(when (file-exists? "eza_colors-explanation.5")
(install-file "eza_colors-explanation.5" man5))
(mkdir-p bash-completions-dir)
(mkdir-p zsh-completions-dir)
(mkdir-p fish-completions-dir)