Files
nixpkgs/pkgs/development/libraries/libnotify/default.nix
T

26 lines
789 B
Nix
Raw Normal View History

2017-06-20 06:48:21 +02:00
{ stdenv, fetchurl, pkgconfig, autoreconfHook
, glib, gdk_pixbuf, gobjectIntrospection }:
stdenv.mkDerivation rec {
ver_maj = "0.7";
2017-06-20 06:48:21 +02:00
ver_min = "7";
name = "libnotify-${ver_maj}.${ver_min}";
2007-11-16 21:05:15 +00:00
src = fetchurl {
url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
2017-06-20 06:48:21 +02:00
sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
};
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" ];
2017-06-20 06:48:21 +02:00
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ glib gdk_pixbuf gobjectIntrospection ];
2007-11-16 21:05:15 +00:00
meta = {
2017-06-20 06:48:21 +02:00
homepage = https://developer.gnome.org/notification-spec/;
description = "A library that sends desktop notifications to a notification daemon";
2016-08-02 20:50:55 +03:00
platforms = stdenv.lib.platforms.unix;
};
2007-11-16 21:05:15 +00:00
}