2017-06-20 06:48:21 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
|
|
|
|
, glib, gdk_pixbuf, gobjectIntrospection }:
|
2013-03-09 22:50:24 +01:00
|
|
|
|
2010-01-21 22:23:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-03-09 22:50:24 +01:00
|
|
|
ver_maj = "0.7";
|
2017-06-20 06:48:21 +02:00
|
|
|
ver_min = "7";
|
2013-03-09 22:50:24 +01:00
|
|
|
name = "libnotify-${ver_maj}.${ver_min}";
|
2007-11-16 21:05:15 +00:00
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-03-09 22:50:24 +01:00
|
|
|
url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
|
2017-06-20 06:48:21 +02:00
|
|
|
sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
|
2013-03-09 22:50:24 +01:00
|
|
|
};
|
2007-11-16 21:05:15 +00:00
|
|
|
|
2017-06-20 06:48:21 +02:00
|
|
|
# disable tests as we don't need to depend on gtk+(2/3)
|
|
|
|
|
configureFlags = [ "--disable-tests" ];
|
2013-03-09 22:50:24 +01:00
|
|
|
|
2017-06-20 06:48:21 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
|
buildInputs = [ glib gdk_pixbuf gobjectIntrospection ];
|
2007-11-16 21:05:15 +00:00
|
|
|
|
2010-01-21 22:23:59 +00:00
|
|
|
meta = {
|
2017-06-20 06:48:21 +02:00
|
|
|
homepage = https://developer.gnome.org/notification-spec/;
|
2010-01-21 22:23:59 +00:00
|
|
|
description = "A library that sends desktop notifications to a notification daemon";
|
2016-08-02 20:50:55 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-01-21 22:23:59 +00:00
|
|
|
};
|
2007-11-16 21:05:15 +00:00
|
|
|
}
|