summaryrefslogtreecommitdiff
path: root/gnu/packages/qdirstat.scm
blob: 91581a206ebe5585ff5acb736690c5b7a65e755b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(define-module (qdirstat)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages compression)
  #:use-module (guix build-system gnu)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages))


(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)))
    (native-inputs
     `(("zlib" ,zlib)
       ("qttools" ,qttools)))
    (home-page "https://github.com/shundhammer/qdirstat")
    (synopsis "Graphical disk space inspection utility")
    (description
     "QDirStat is a graphical application to show where your disk space has
gone and to help you to clean it up.  Shaded boxes represent files and files
are grouped by directory structure."  )
    (license license:gpl2+)))