1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libnotify/default.nix

26 lines
789 B
Nix

{ stdenv, fetchurl, pkgconfig, autoreconfHook
, glib, gdk_pixbuf, gobjectIntrospection }:
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 gobjectIntrospection ];
buildInputs = [ glib gdk_pixbuf ];
meta = {
homepage = https://developer.gnome.org/notification-spec/;
description = "A library that sends desktop notifications to a notification daemon";
platforms = stdenv.lib.platforms.unix;
};
}