15 lib.meta.availableOn stdenv.hostPlatform gobject-introspection
16 && stdenv.hostPlatform.emulatorAvailable buildPackages,
17 gobject-introspection,
20 stdenv.mkDerivation rec {
31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32 hash = "sha256-7o8++UYVatNAb99F/u29zZMtvSEatPFvdeuk82+y9sA=";
36 # disable tests as we don't need to depend on GTK (2/3)
38 "-Ddocbook_docs=disabled"
40 "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
52 glib # for glib-mkenums needed during the build
54 ++ lib.optionals withIntrospection [
58 propagatedBuildInputs = [
64 updateScript = gnome.updateScript {
66 versionPolicy = "none";
71 description = "Library that sends desktop notifications to a notification daemon";
72 homepage = "https://gitlab.gnome.org/GNOME/libnotify";
73 license = licenses.lgpl21;
74 maintainers = teams.gnome.members;
75 mainProgram = "notify-send";
76 platforms = platforms.unix;