summaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2026-04-20 17:14:28 -0300
committerVinicius Monego <monego@posteo.net>2026-04-22 22:07:13 -0300
commit4cc4c76637c9f2dfbb6c74df89f0eabede461ac0 (patch)
treea34abd15ceabe9f349f917ba09049d400045044a /gnu/packages/disk.scm
parent33c9aaf0026781e2b6d97afea1b7282574d889fe (diff)
gnu: Add gdu.
* gnu/packages/disk.scm (gdu): New variable. Change-Id: Ic4667cb2ed3f4768f71d9e78b37733f378c2aa60
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm47
1 files changed, 46 insertions, 1 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index b12de4af3e3..b83a142cc9c 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -31,7 +31,7 @@
31;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> 31;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
32;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com> 32;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
33;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> 33;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
34;;; Copyright © 2025 Vinicius Monego <monego@posteo.net> 34;;; Copyright © 2025, 2026 Vinicius Monego <monego@posteo.net>
35;;; Copyright © 2025 Grigory Shepelev <shegeley@gmail.com> 35;;; Copyright © 2025 Grigory Shepelev <shegeley@gmail.com>
36;;; Copyright © 2026 Luis Guilherme Coelho <lgcoelho@disroot.org> 36;;; Copyright © 2026 Luis Guilherme Coelho <lgcoelho@disroot.org>
37 37
@@ -94,6 +94,8 @@
94 #:use-module (gnu packages gnome) 94 #:use-module (gnu packages gnome)
95 #:use-module (gnu packages gnupg) 95 #:use-module (gnu packages gnupg)
96 #:use-module (gnu packages golang-build) 96 #:use-module (gnu packages golang-build)
97 #:use-module (gnu packages golang-check)
98 #:use-module (gnu packages golang-compression)
97 #:use-module (gnu packages golang-xyz) 99 #:use-module (gnu packages golang-xyz)
98 #:use-module (gnu packages graphics) 100 #:use-module (gnu packages graphics)
99 #:use-module (gnu packages gtk) 101 #:use-module (gnu packages gtk)
@@ -420,6 +422,49 @@ tables, and it understands a variety of different formats.")
420similarity.") 422similarity.")
421 (license license:gpl3+))) 423 (license license:gpl3+)))
422 424
425(define-public gdu
426 (package
427 (name "gdu")
428 (version "5.35.0")
429 (source
430 (origin
431 (method git-fetch)
432 (uri (git-reference
433 (url "https://github.com/dundee/gdu")
434 (commit (string-append "v" version))))
435 (file-name (git-file-name name version))
436 (sha256
437 (base32 "051xf3wncdiavjwyl9djmni5vd2dqjgn6drkw2nm21c9l0rjfv6d"))))
438 (build-system go-build-system)
439 (arguments
440 (list
441 #:install-source? #f
442 #:import-path "github.com/dundee/gdu/v5/cmd/gdu"
443 #:unpack-path "github.com/dundee/gdu/v5"))
444 (native-inputs
445 (list go-github-com-dgraph-io-badger-v4
446 go-github-com-fatih-color
447 go-github-com-gdamore-tcell-v2
448 go-github-com-h2non-filetype
449 go-github-com-maruel-natural
450 go-github-com-mattn-go-isatty
451 go-github-com-pkg-errors
452 go-github-com-rivo-tview
453 go-github-com-sirupsen-logrus
454 go-github-com-spf13-cobra
455 go-github-com-stretchr-testify
456 go-github-com-ulikunitz-xz
457 go-golang-org-x-sys
458 go-golang-org-x-text
459 go-gopkg-in-yaml-v3
460 go-modernc-org-sqlite))
461 (home-page "https://github.com/dundee/gdu")
462 (synopsis "Disk usage analyzer")
463 (description "Gdu is a disk usage analyzer written in Go. It is intended
464primarily for SSD disks where it can fully utilize parallel processing, but it
465also works on HDDs.")
466 (license license:expat)))
467
423(define-public gpart 468(define-public gpart
424 ;; The latest (0.3) release is from 2015 and is missing a crash fix. 469 ;; The latest (0.3) release is from 2015 and is missing a crash fix.
425 (let ((commit "ec03350a01ad69708b5a3e2d47b8e002b0eba6c9") 470 (let ((commit "ec03350a01ad69708b5a3e2d47b8e002b0eba6c9")