gnu: qdirstat: Improve package.

* gnu/packages/disk.scm (qdirstat): Apply G-expressions, shift order of
the fields.

Change-Id: I05a1df8d1b9d1106b64b465aeb2ee4a326ee50f3
This commit is contained in:
Sharlatan Hellseher 2025-06-27 12:04:30 +01:00
parent 751eab8919
commit 3ac3c0d636
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1802,24 +1802,22 @@ wrapper for disk usage querying and visualisation.")
(sha256 (sha256
(base32 (base32
"04vpdlwk01kgmc4r5rnrmrgd4sf2kfh1rjzb2rjkfxdd4pbghsy9")))) "04vpdlwk01kgmc4r5rnrmrgd4sf2kfh1rjzb2rjkfxdd4pbghsy9"))))
(build-system qt-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(system* "qmake" (system* "qmake" (string-append "INSTALL_PREFIX=" #$output))))
(string-append "INSTALL_PREFIX="
(assoc-ref outputs "out")))))
(add-after 'install 'wrap (add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda _
(wrap-program (string-append (wrap-program (string-append #$output
(assoc-ref outputs "out")
"/bin/qdirstat-cache-writer") "/bin/qdirstat-cache-writer")
`("PERL5LIB" ":" prefix `("PERL5LIB" ":" prefix
(,(string-append (,(string-append
(assoc-ref inputs "perl-uri-escape") #$(this-package-input "perl-uri-escape")
"/lib/perl5/site_perl"))))))))) "/lib/perl5/site_perl")))))))))
(build-system qt-build-system)
(inputs (inputs
(list bash-minimal (list bash-minimal
perl perl
@ -1827,11 +1825,11 @@ wrapper for disk usage querying and visualisation.")
qtbase-5 qtbase-5
qtwayland-5 qtwayland-5
zlib)) zlib))
(home-page "https://github.com/shundhammer/qdirstat")
(synopsis "Storage utilisation visualization tool") (synopsis "Storage utilisation visualization tool")
(description (description
"QDirStat is a graphical application to show where your disk space has "QDirStat is a graphical application to show where your disk space has
gone and to help you to clean it up.") gone and to help you to clean it up.")
(home-page "https://github.com/shundhammer/qdirstat")
(license license:gpl2))) (license license:gpl2)))
(define-public nwipe (define-public nwipe