unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74520] [PATCH] gnu: du-dust: Update to 1.1.1.
@ 2024-11-25  2:55 Jordan Moore
  2024-11-25  6:59 ` bug#74520: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Jordan Moore @ 2024-11-25  2:55 UTC (permalink / raw)
  To: 74520; +Cc: Jordan Moore, Sharlatan Hellseher

* gnu/packages/admin.scm (du-dust): Update to 1.1.1.

Change-Id: I0bd13a96669e526c7c9c5eab0f3ff416b3e69f05
---
 gnu/packages/admin.scm | 98 ++++++++++++++++++++++--------------------
 1 file changed, 52 insertions(+), 46 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 46282da67e..e2ed9c1d86 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6222,54 +6222,60 @@ (define-public doctl
 (define-public du-dust
   (package
     (name "du-dust")
-    (version "0.8.6")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "du-dust" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1w52xdz1vi6awsvf4lph791zv13phjvz4ypmxr7f6pgxd3crr77c"))))
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "du-dust" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qr6ikq2ds8bq35iw480qyhf3d43dj61wiwp8587n3mgqf5djx8w"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-test-flags
-       (list "--release" "--"
-             "--skip=test_apparent_size")
-       #:install-source? #f
-       #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
-                       ("rust-atty" ,rust-atty-0.2)
-                       ("rust-clap" ,rust-clap-3)
-                       ("rust-clap-complete" ,rust-clap-complete-3)
-                       ("rust-clap-mangen" ,rust-clap-mangen-0.1)
-                       ("rust-config-file" ,rust-config-file-0.2)
-                       ("rust-directories" ,rust-directories-4)
-                       ("rust-lscolors" ,rust-lscolors-0.13)
-                       ("rust-rayon" ,rust-rayon-1)
-                       ("rust-regex" ,rust-regex-1)
-                       ("rust-serde" ,rust-serde-1)
-                       ("rust-stfu8" ,rust-stfu8-0.2)
-                       ("rust-sysinfo" ,rust-sysinfo-0.27)
-                       ("rust-terminal-size" ,rust-terminal-size-0.2)
-                       ("rust-thousands" ,rust-thousands-0.2)
-                       ("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))
-       #: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-functions"))))))))
+     (list #:cargo-test-flags `(list "--release" "--"
+                                     "--skip=test_apparent_size")
+           #:install-source? #f
+           #:cargo-inputs `(("rust-ansi-term" ,rust-ansi-term-0.12)
+                            ("rust-chrono" ,rust-chrono-0.4)
+                            ("rust-clap" ,rust-clap-4)
+                            ("rust-clap" ,rust-clap-4)
+                            ("rust-clap-complete" ,rust-clap-complete-4)
+                            ("rust-clap-mangen" ,rust-clap-mangen-0.2)
+                            ("rust-config-file" ,rust-config-file-0.2)
+                            ("rust-ctrlc" ,rust-ctrlc-3)
+                            ("rust-directories" ,rust-directories-4)
+                            ("rust-filesize" ,rust-filesize-0.2)
+                            ("rust-lscolors" ,rust-lscolors-0.13)
+                            ("rust-rayon" ,rust-rayon-1)
+                            ("rust-regex" ,rust-regex-1)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-stfu8" ,rust-stfu8-0.2)
+                            ("rust-sysinfo" ,rust-sysinfo-0.27)
+                            ("rust-terminal-size" ,rust-terminal-size-0.2)
+                            ("rust-thousands" ,rust-thousands-0.2)
+                            ("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))
+           #: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-functions"))))))))
     (home-page "https://github.com/bootandy/dust")
     (synopsis "Graphical disk usage analyzer")
     (description "This package provides a graphical disk usage analyzer in

base-commit: 50d9e8b454906c0b95abfddf5c27ecfacf241cbe
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74520: [PATCH] gnu: du-dust: Update to 1.1.1.
  2024-11-25  2:55 [bug#74520] [PATCH] gnu: du-dust: Update to 1.1.1 Jordan Moore
@ 2024-11-25  6:59 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2024-11-25  6:59 UTC (permalink / raw)
  To: Jordan Moore; +Cc: 74520-done, Sharlatan Hellseher

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

Thanks for the patch! I removed the duplicate rust-clap-4 and pushed it
to master.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-25  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-25  2:55 [bug#74520] [PATCH] gnu: du-dust: Update to 1.1.1 Jordan Moore
2024-11-25  6:59 ` bug#74520: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).