From ccbbeaa032818277e03ec9f28aeaef000d8b6cda Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 29 Sep 2025 21:12:43 +0100 Subject: [PATCH] libnotify: 0.8.6 -> 0.8.7 Changes: https://gitlab.gnome.org/GNOME/libnotify/-/blob/0.8.7/NEWS?ref_type=tags Diff: https://gitlab.gnome.org/GNOME/libnotify/-/compare/0.8.6...0.8.7 --- pkgs/by-name/li/libnotify/package.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libnotify/package.nix b/pkgs/by-name/li/libnotify/package.nix index 8345b27ae222..5403b0d07218 100644 --- a/pkgs/by-name/li/libnotify/package.nix +++ b/pkgs/by-name/li/libnotify/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchpatch, meson, ninja, pkg-config, @@ -19,7 +20,7 @@ stdenv.mkDerivation rec { pname = "libnotify"; - version = "0.8.6"; + version = "0.8.7"; outputs = [ "out" @@ -29,11 +30,20 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - hash = "sha256-xVQKrvtg4dY7HFh8BfIoTr5y7OfQwOXkp3jP1YRLa1g="; + hash = "sha256-S+FSAuxBhPzhrBWZfs5VMNK+Mv6Vc4da6xDjtXOFh0g="; }; + patches = [ + # build: Do not use GDesktopAppInfo if not available + # https://gitlab.gnome.org/GNOME/libnotify/-/issues/62 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/libnotify/-/commit/13de65ad2a76255ffde5d6da91d246cd7226583b.patch"; + hash = "sha256-a1wiUQnrncPqL2OTY1sUWyvVcoI54bXPvkIkZAcC6kI="; + }) + ]; + mesonFlags = [ - # disable tests as we don't need to depend on GTK (2/3) + # disable tests as we don't need to depend on GTK 4 "-Dtests=false" "-Ddocbook_docs=disabled" "-Dgtk_doc=false"