libnotify: fix darwin build

Patch is upstream MR courtesy of jtojnar.
This commit is contained in:
worldofpeace 2019-04-30 13:58:40 -04:00
parent 83f104a73e
commit f1ad53b267

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig
{ stdenv, fetchurl, meson, ninja, pkgconfig, fetchpatch
, glib, gdk_pixbuf, gobject-introspection, gnome3 }:
stdenv.mkDerivation rec {
@ -10,6 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "1371csx0n92g60b5dmai4mmzdnx8081mc3kcgc6a0xipcq5rw839";
};
patches = [
# Fix darwin build
# https://gitlab.gnome.org/GNOME/libnotify/merge_requests/9
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/libnotify/commit/55eb69247fe2b479ea43311503042fc03bf4e67d.patch";
sha256 = "1hlb5b7c5axiyir1i5j2pi94bm2gyr1ybkp6yaqy7yk6iiqlvv50";
})
];
mesonFlags = [
# disable tests as we don't need to depend on gtk+(2/3)
"-Dtests=false"