GNU bug report logs - #52325
[PATCH] gnu: Add dutree.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 6 Dec 2021 09:06:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52325 in the body.
You can then email your comments to 52325 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52325; Package guix-patches. (Mon, 06 Dec 2021 09:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Dec 2021 09:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add dutree.
Date: Mon,  6 Dec 2021 04:05:33 -0500
* gnu/packages/rust-apps.scm (dutree): New variable.
---
 gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5fe18ac942..50095fd38b 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -989,6 +989,42 @@ (define-public tokei
 blanks grouped by language.")
     (license (list license:expat license:asl2.0))))
 
+(define-public dutree
+  (package
+    (name "dutree")
+    (version "0.2.18")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "dutree" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1611h27i8fm3jndscd6w65z8z7w09nnrm61vdgs9kb8ln57gqm8x"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-getopts" ,rust-getopts-0.2)
+         ("rust-regex" ,rust-regex-1)
+         ("rust-signal-hook" ,rust-signal-hook-0.1)
+         ("rust-terminal-size" ,rust-terminal-size-0.1)
+         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+         ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page "https://github.com/nachoparker/dutree")
+    (synopsis "Command line tool to analyze disk usage")
+    (description
+"@command{dutree} is command line tool to analyze disk usage.
+Features include:
+
+@enumerate
+@item coloured output, according to the LS_COLORS  environment variable.
+@item display the file system tree
+@item ability to aggregate small files
+@item ability to exclude files or directories
+@item ability to compare different directories
+@item fast, written in Rust
+@end enumerate\n")
+    (license license:gpl3)))
+
 (define-public watchexec
   (package
     (name "watchexec")
-- 
2.34.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 07 Dec 2021 12:07:01 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Tue, 07 Dec 2021 12:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 52325-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: jgart <jgart <at> dismail.de>
Cc: 52325-done <at> debbugs.gnu.org
Subject: Re: [bug#52325] [PATCH] gnu: Add dutree.
Date: Tue, 7 Dec 2021 14:03:26 +0200
[Message part 1 (text/plain, inline)]
Patch pushed, with a few changes.

On Mon, Dec 06, 2021 at 04:05:33AM -0500, jgart via Guix-patches via wrote:
> * gnu/packages/rust-apps.scm (dutree): New variable.
> ---
>  gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
> index 5fe18ac942..50095fd38b 100644
> --- a/gnu/packages/rust-apps.scm
> +++ b/gnu/packages/rust-apps.scm
> @@ -989,6 +989,42 @@ (define-public tokei
>  blanks grouped by language.")
>      (license (list license:expat license:asl2.0))))

Not all the packages are sorted alphabetically in rust-apps, but I moved
this one further up with the sorted packages.

>  
> +(define-public dutree
> +  (package
> +    (name "dutree")
> +    (version "0.2.18")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "dutree" version))
> +        (file-name (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32 "1611h27i8fm3jndscd6w65z8z7w09nnrm61vdgs9kb8ln57gqm8x"))))
> +    (build-system cargo-build-system)
> +    (arguments

I added #:install-source? #f to arguments

> +      `(#:cargo-inputs
> +        (("rust-getopts" ,rust-getopts-0.2)
> +         ("rust-regex" ,rust-regex-1)
> +         ("rust-signal-hook" ,rust-signal-hook-0.1)
> +         ("rust-terminal-size" ,rust-terminal-size-0.1)
> +         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
> +         ("rust-unicode-width" ,rust-unicode-width-0.1))))
> +    (home-page "https://github.com/nachoparker/dutree")

Changed the home-page to https://ownyourbits.com/2018/03/25/analyze-disk-usage-with-dutree/

> +    (synopsis "Command line tool to analyze disk usage")
> +    (description

Some small tweaks to the description.

> +"@command{dutree} is command line tool to analyze disk usage.
> +Features include:
> +
> +@enumerate
> +@item coloured output, according to the LS_COLORS  environment variable.
> +@item display the file system tree
> +@item ability to aggregate small files
> +@item ability to exclude files or directories
> +@item ability to compare different directories
> +@item fast, written in Rust
> +@end enumerate\n")
> +    (license license:gpl3)))
> +
>  (define-public watchexec
>    (package
>      (name "watchexec")
> -- 
> 2.34.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Jan 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.