summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-06-27 12:04:30 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-27 12:08:19 +0100
commit3ac3c0d636dfcd00d4cde0476d8004bc7f2c48e0 (patch)
tree915646b78754c0a45a266b395a0b65dd70c2b711
parent751eab891979308698637aa07ad230d5bddf3cca (diff)
gnu: qdirstat: Improve package.
* gnu/packages/disk.scm (qdirstat): Apply G-expressions, shift order of the fields. Change-Id: I05a1df8d1b9d1106b64b465aeb2ee4a326ee50f3
-rw-r--r--gnu/packages/disk.scm34
1 files changed, 16 insertions, 18 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index f75d84a2a62..6a1ef2fe993 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -1802,24 +1802,22 @@ wrapper for disk usage querying and visualisation.")
1802 (sha256 1802 (sha256
1803 (base32 1803 (base32
1804 "04vpdlwk01kgmc4r5rnrmrgd4sf2kfh1rjzb2rjkfxdd4pbghsy9")))) 1804 "04vpdlwk01kgmc4r5rnrmrgd4sf2kfh1rjzb2rjkfxdd4pbghsy9"))))
1805 (arguments
1806 `(#:phases
1807 (modify-phases %standard-phases
1808 (replace 'configure
1809 (lambda* (#:key outputs #:allow-other-keys)
1810 (system* "qmake"
1811 (string-append "INSTALL_PREFIX="
1812 (assoc-ref outputs "out")))))
1813 (add-after 'install 'wrap
1814 (lambda* (#:key inputs outputs #:allow-other-keys)
1815 (wrap-program (string-append
1816 (assoc-ref outputs "out")
1817 "/bin/qdirstat-cache-writer")
1818 `("PERL5LIB" ":" prefix
1819 (,(string-append
1820 (assoc-ref inputs "perl-uri-escape")
1821 "/lib/perl5/site_perl")))))))))
1822 (build-system qt-build-system) 1805 (build-system qt-build-system)
1806 (arguments
1807 (list
1808 #:phases
1809 #~(modify-phases %standard-phases
1810 (replace 'configure
1811 (lambda _
1812 (system* "qmake" (string-append "INSTALL_PREFIX=" #$output))))
1813 (add-after 'install 'wrap
1814 (lambda _
1815 (wrap-program (string-append #$output
1816 "/bin/qdirstat-cache-writer")
1817 `("PERL5LIB" ":" prefix
1818 (,(string-append
1819 #$(this-package-input "perl-uri-escape")
1820 "/lib/perl5/site_perl")))))))))
1823 (inputs 1821 (inputs
1824 (list bash-minimal 1822 (list bash-minimal
1825 perl 1823 perl
@@ -1827,11 +1825,11 @@ wrapper for disk usage querying and visualisation.")
1827 qtbase-5 1825 qtbase-5
1828 qtwayland-5 1826 qtwayland-5
1829 zlib)) 1827 zlib))
1828 (home-page "https://github.com/shundhammer/qdirstat")
1830 (synopsis "Storage utilisation visualization tool") 1829 (synopsis "Storage utilisation visualization tool")
1831 (description 1830 (description
1832 "QDirStat is a graphical application to show where your disk space has 1831 "QDirStat is a graphical application to show where your disk space has
1833gone and to help you to clean it up.") 1832gone and to help you to clean it up.")
1834 (home-page "https://github.com/shundhammer/qdirstat")
1835 (license license:gpl2))) 1833 (license license:gpl2)))
1836 1834
1837(define-public nwipe 1835(define-public nwipe