about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libnotify/default.nix
blob: d427f7decf8b88ddff4436e42c8c30a8c507bfda (plain) (blame)
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
{ stdenv, fetchurl, pkgconfig, autoreconfHook
, glib, gdk_pixbuf, gobject-introspection }:

stdenv.mkDerivation rec {
  ver_maj = "0.7";
  ver_min = "7";
  name = "libnotify-${ver_maj}.${ver_min}";

  src = fetchurl {
    url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
    sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
  };

  # disable tests as we don't need to depend on gtk+(2/3)
  configureFlags = [ "--disable-tests" ];

  nativeBuildInputs = [ pkgconfig autoreconfHook gobject-introspection ];
  buildInputs = [ glib gdk_pixbuf ];

  meta = with stdenv.lib; {
    homepage = https://developer.gnome.org/notification-spec/;
    description = "A library that sends desktop notifications to a notification daemon";
    platforms = platforms.unix;
    license = licenses.lgpl21;
  };
}