nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, pkgconfig, autoreconfHook
2, glib, gdk_pixbuf, gobject-introspection }:
3
4stdenv.mkDerivation rec {
5 ver_maj = "0.7";
6 ver_min = "7";
7 name = "libnotify-${ver_maj}.${ver_min}";
8
9 src = fetchurl {
10 url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
11 sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
12 };
13
14 # disable tests as we don't need to depend on gtk+(2/3)
15 configureFlags = [ "--disable-tests" ];
16
17 nativeBuildInputs = [ pkgconfig autoreconfHook gobject-introspection ];
18 buildInputs = [ glib gdk_pixbuf ];
19
20 meta = with stdenv.lib; {
21 homepage = https://developer.gnome.org/notification-spec/;
22 description = "A library that sends desktop notifications to a notification daemon";
23 platforms = platforms.unix;
24 license = licenses.lgpl21;
25 };
26}