1{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool
2, glib, gdk_pixbuf, gobjectIntrospection, autoreconfHook }:
3
4stdenv.mkDerivation rec {
5 ver_maj = "0.7";
6 ver_min = "6";
7 name = "libnotify-${ver_maj}.${ver_min}";
8
9 src = fetchurl {
10 url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
11 sha256 = "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf";
12 };
13
14 # see Gentoo ebuild - we don't need to depend on gtk+(2/3)
15 preAutoreconf = ''
16 sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
17 sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die
18 '';
19
20 buildInputs = [ pkgconfig automake autoconf autoreconfHook
21 libtool glib gdk_pixbuf gobjectIntrospection ];
22
23 meta = {
24 homepage = http://galago-project.org/; # very obsolete but found no better
25 description = "A library that sends desktop notifications to a notification daemon";
26 };
27}