git.iko.soy/typeable/nixpkgs
on master help sign in
libnotify: 0.7.7 -> 0.7.8

* cleanup a bit using new helpers * move to meson to avoid need for gtk_doc and such * NEWS: https://gitlab.gnome.org/GNOME/libnotify/blob/0.7.8/NEWS * tag: https://gitlab.gnome.org/GNOME/libnotify/tags/0.7.8

commit83f104a73ee4ed2c74d11bab1d3fe36a12742fd7 authorWill Dietz <w@wdtz.org> dateSat 6 Apr 2019, 09:21 (8 years ago) parentc58c079
1 file changed+20−10
pkgs/development/libraries/libnotify/default.nix+20−10
pkgs/development/libraries/libnotify/default.nix+20−10
@@ -1,22 +1,32 @@
1−{ stdenv, fetchurl, pkgconfig, autoreconfHook
2−, glib, gdk_pixbuf, gobject-introspection }:
1+{ stdenv, fetchurl, meson, ninja, pkgconfig
2+, glib, gdk_pixbuf, gobject-introspection, gnome3 }:
33
44stdenv.mkDerivation rec {
5− ver_maj = "0.7";
6− ver_min = "7";
7− name = "libnotify-${ver_maj}.${ver_min}";
5+ pname = "libnotify";
6+ version = "0.7.8";
87
98 src = fetchurl {
10− url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
11− sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
9+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ sha256 = "1371csx0n92g60b5dmai4mmzdnx8081mc3kcgc6a0xipcq5rw839";
1211 };
1312
14− # disable tests as we don't need to depend on gtk+(2/3)
15− configureFlags = [ "--disable-tests" ];
13+ mesonFlags = [
14+ # disable tests as we don't need to depend on gtk+(2/3)
15+ "-Dtests=false"
16+ "-Ddocbook_docs=disabled"
17+ "-Dgtk_doc=false"
18+ ];
1619
17− nativeBuildInputs = [ pkgconfig autoreconfHook gobject-introspection ];
20+ nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ];
1821 buildInputs = [ glib gdk_pixbuf ];
1922
23+ passthru = {
24+ updateScript = gnome3.updateScript {
25+ packageName = pname;
26+ versionPolicy = "none";
27+ };
28+ };
29+
2030 meta = with stdenv.lib; {
2131 homepage = https://developer.gnome.org/notification-spec/;
2232 description = "A library that sends desktop notifications to a notification daemon";