all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: jgart <jgart@dismail.de>
Cc: 52325-done@debbugs.gnu.org
Subject: bug#52325: [PATCH] gnu: Add dutree.
Date: Tue, 7 Dec 2021 14:03:26 +0200	[thread overview]
Message-ID: <Ya9Njvraxek76i0q@3900XT> (raw)
In-Reply-To: <20211206090533.26893-1-jgart@dismail.de>

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

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@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 --]

      reply	other threads:[~2021-12-07 12:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06  9:05 [bug#52325] [PATCH] gnu: Add dutree jgart via Guix-patches via
2021-12-07 12:03 ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Ya9Njvraxek76i0q@3900XT \
    --to=efraim@flashner.co.il \
    --cc=52325-done@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.