(define-module (gnu packages qdirstat) #:use-module (gnu packages compression) #:use-module (gnu packages qt) #:use-module (guix build-system gnu) #:use-module (guix git-download) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:)) (define-public qdirstat (package (name "qdirstat") (version "1.6.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/shundhammer/qdirstat.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0q77a347qv1aka6sni6l03zh5jzyy9s74aygg554r73g01kxczpb")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (invoke "qmake" (string-append "PREFIX=" (assoc-ref outputs "out")) (string-append "INSTALL_PREFIX=" (assoc-ref outputs "out")))))))) (inputs `(("qtbase" ,qtbase) ("zlib" ,zlib))) (native-inputs `(("qttools" ,qttools))) (home-page "https://github.com/shundhammer/qdirstat") (synopsis "Graphical disk space inspection utility") (description "QDirStat is a graphical application for analysing disk usage. It shows where your disk space has gone and helps you clean it up. Shaded boxes represent files and files are grouped by directory structure.") (license (list license:gpl2+ license:non-copyleft)))) ; scripts/qdirstat-cache-writer