gnu: uim: Update to 1.8.8.
[jackhill/guix/guix.git] / gnu / packages / dunst.scm
CommitLineData
b0ded08f 1;;; GNU Guix --- Functional package management for GNU
1f849cba 2;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
b0ded08f
AK
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages dunst)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (gnu packages base)
25 #:use-module (gnu packages freedesktop)
26 #:use-module (gnu packages glib)
27 #:use-module (gnu packages gtk)
28 #:use-module (gnu packages perl)
29 #:use-module (gnu packages pkg-config)
30 #:use-module (gnu packages xorg))
31
32(define-public dunst
33 (package
34 (name "dunst")
1f849cba 35 (version "1.3.1")
b0ded08f
AK
36 (source (origin
37 (method url-fetch)
38 (uri (string-append
9c074e89
AK
39 "https://github.com/dunst-project/dunst/archive/v"
40 version ".tar.gz"))
41 (file-name (string-append name "-" version ".tar.gz"))
b0ded08f
AK
42 (sha256
43 (base32
1f849cba 44 "1mkdp1vqc376z8clwm5s9070jq1g92j8hv2rr231jr2468fnwaga"))))
b0ded08f
AK
45 (build-system gnu-build-system)
46 (arguments
47 '(#:tests? #f ; no check target
48 #:make-flags (list "CC=gcc"
1f849cba
AK
49 (string-append "PREFIX=" %output)
50 ;; Otherwise it tries to install service file
51 ;; to "dbus" store directory.
52 (string-append "SERVICEDIR_DBUS=" %output
53 "/share/dbus-1/services"))
b0ded08f
AK
54 #:phases (modify-phases %standard-phases
55 (delete 'configure))))
56 (native-inputs
57 `(("pkg-config" ,pkg-config)
58 ("perl" ,perl) ; for pod2man
59 ("which" ,which)))
60 (inputs
61 `(("dbus" ,dbus)
1f849cba 62 ("gdk-pixbuf" ,gdk-pixbuf)
b0ded08f
AK
63 ("glib" ,glib)
64 ("cairo" ,cairo)
65 ("pango" ,pango)
66 ("libx11" ,libx11)
b0ded08f
AK
67 ("libxscrnsaver" ,libxscrnsaver)
68 ("libxinerama" ,libxinerama)
9c074e89 69 ("libxrandr" ,libxrandr)
b0ded08f 70 ("libxdg-basedir" ,libxdg-basedir)))
9c074e89 71 (home-page "https://dunst-project.org/")
b0ded08f
AK
72 (synopsis "Customizable and lightweight notification daemon")
73 (description
74 "Dunst is a highly configurable and minimalistic notification daemon.
75It provides 'org.freedesktop.Notifications' D-Bus service, so it is
76started automatically on the first call via D-Bus.")
77 (license license:bsd-3)))