[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/276: gnu: du-dust: Install manpage, shell completions.
From: |
guix-commits |
Subject: |
175/276: gnu: du-dust: Install manpage, shell completions. |
Date: |
Wed, 18 Oct 2023 04:49:58 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit bed8878cdcc8040dcc19f98fc5ed199ebe3bef6e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 15:26:28 2023 +0300
gnu: du-dust: Install manpage, shell completions.
* gnu/packages/admin.scm (du-dust)[arguments]: Add a phase to install
the manpage and shell completions.
---
gnu/packages/admin.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index a3d26f0fe3..a8d4269fbb 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -5938,7 +5938,22 @@ file or files to several hosts.")
("rust-unicode-width" ,rust-unicode-width-0.1)
("rust-winapi-util" ,rust-winapi-util-0.1))
#:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2)
- ("rust-tempfile" ,rust-tempfile-3))))
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-extras
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share")))
+ (install-file "man-page/dust.1"
+ (string-append share "/man/man1"))
+ (mkdir-p (string-append out "/etc/bash_completion.d"))
+ (copy-file "completions/dust.bash"
+ (string-append out "/etc/bash_completion.d/dust"))
+ (install-file "completions/dust.fish"
+ (string-append share
"/fish/vendor_completions.d"))
+ (install-file "completions/_dust"
+ (string-append share "/zsh/site-fuctions"))))))))
(home-page "https://github.com/bootandy/dust")
(synopsis "Graphical disk usage analyzer")
(description "This package provides a graphical disk usage analyzer in
- 153/276: gnu: Add rust-lexical-5., (continued)
- 153/276: gnu: Add rust-lexical-5., guix-commits, 2023/10/18
- 154/276: gnu: Add rust-generational-arena-0.2., guix-commits, 2023/10/18
- 155/276: gnu: Add rust-debugid-0.8., guix-commits, 2023/10/18
- 159/276: gnu: Add rust-auto-impl-0.4., guix-commits, 2023/10/18
- 162/276: gnu: rust-assert-cmd-2: Update to 2.0.12., guix-commits, 2023/10/18
- 167/276: gnu: rust-yansi-0.5: Update to 0.5.1., guix-commits, 2023/10/18
- 168/276: gnu: rav1e: Update to 0.6.6., guix-commits, 2023/10/18
- 171/276: gnu: Add rust-greetd-ipc-0.9., guix-commits, 2023/10/18
- 173/276: gnu: Add rust-clap-mangen-0.1., guix-commits, 2023/10/18
- 174/276: gnu: du-dust: Update to 0.8.6., guix-commits, 2023/10/18
- 175/276: gnu: du-dust: Install manpage, shell completions.,
guix-commits <=
- 176/276: gnu: rust-getrandom-0.2: Update to 0.2.10., guix-commits, 2023/10/18
- 188/276: gnu: Add rust-count-instructions-0.1., guix-commits, 2023/10/18
- 182/276: gnu: Add rust-page-size-0.6., guix-commits, 2023/10/18
- 187/276: gnu: b3sum: Update to 1.5.0., guix-commits, 2023/10/18
- 192/276: gnu: python-orjson: Update to 3.9.7., guix-commits, 2023/10/18
- 189/276: gnu: rust-oorandom-11: Rename from rust-oorandom-11.1., guix-commits, 2023/10/18
- 193/276: gnu: python-pyopenssl: Update to 23.2.0., guix-commits, 2023/10/18
- 191/276: gnu: rust-smallvec-1: Update to 1.11.1., guix-commits, 2023/10/18
- 181/276: gnu: Add rust-memmap2-0.7., guix-commits, 2023/10/18
- 194/276: gnu: rust-simdutf8-0.1: Update to 0.1.4., guix-commits, 2023/10/18