12 , withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
13 , gobject-introspection
16 stdenv.mkDerivation rec {
20 outputs = [ "out" "man" "dev" ];
23 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24 hash = "sha256-7o8++UYVatNAb99F/u29zZMtvSEatPFvdeuk82+y9sA=";
28 # disable tests as we don't need to depend on GTK (2/3)
30 "-Ddocbook_docs=disabled"
32 "-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
43 glib # for glib-mkenums needed during the build
44 ] ++ lib.optionals withIntrospection [
48 propagatedBuildInputs = [
54 updateScript = gnome.updateScript {
56 versionPolicy = "none";
61 description = "Library that sends desktop notifications to a notification daemon";
62 homepage = "https://gitlab.gnome.org/GNOME/libnotify";
63 license = licenses.lgpl21;
64 maintainers = teams.gnome.members;
65 mainProgram = "notify-send";
66 platforms = platforms.unix;