gnu: python-pandas: Fix build on 32-bit.
[jackhill/guix/guix.git] / gnu / packages / dunst.scm
CommitLineData
b0ded08f
AK
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
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")
35 (version "1.1.0")
36 (source (origin
37 (method url-fetch)
38 (uri (string-append
39 "http://knopwob.org/public/dunst-release/dunst-"
40 version ".tar.bz2"))
41 (sha256
42 (base32
43 "0w3hilzwanwsp4q6dxbdj6l0mvpg4fq02wf8isll8kmbx9kz2ay7"))))
44 (build-system gnu-build-system)
45 (arguments
46 '(#:tests? #f ; no check target
47 #:make-flags (list "CC=gcc"
48 (string-append "PREFIX=" %output))
49 #:phases (modify-phases %standard-phases
50 (delete 'configure))))
51 (native-inputs
52 `(("pkg-config" ,pkg-config)
53 ("perl" ,perl) ; for pod2man
54 ("which" ,which)))
55 (inputs
56 `(("dbus" ,dbus)
57 ("glib" ,glib)
58 ("cairo" ,cairo)
59 ("pango" ,pango)
60 ("libx11" ,libx11)
61 ("libxext" ,libxext)
62 ("libxft" ,libxft)
63 ("libxscrnsaver" ,libxscrnsaver)
64 ("libxinerama" ,libxinerama)
65 ("libxdg-basedir" ,libxdg-basedir)))
66 (home-page "http://knopwob.org/dunst")
67 (synopsis "Customizable and lightweight notification daemon")
68 (description
69 "Dunst is a highly configurable and minimalistic notification daemon.
70It provides 'org.freedesktop.Notifications' D-Bus service, so it is
71started automatically on the first call via D-Bus.")
72 (license license:bsd-3)))