{ lib , stdenv , fetchFromGitHub , nix-update-script , meson , ninja , pkg-config , vala , gtk3 , glib , granite , libgee , libhandy , libcanberra-gtk3 , python3 , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "elementary-notifications"; version = "6.0.3"; src = fetchFromGitHub { owner = "elementary"; repo = "notifications"; rev = version; sha256 = "sha256-B1wo1N4heG872klFJOBKOEds0+6aqtvkTGefi97bdU8="; }; nativeBuildInputs = [ glib # for glib-compile-schemas meson ninja pkg-config python3 vala wrapGAppsHook ]; buildInputs = [ glib granite gtk3 libcanberra-gtk3 libgee libhandy ]; postPatch = '' chmod +x meson/post_install.py patchShebangs meson/post_install.py ''; passthru = { updateScript = nix-update-script { attrPath = "pantheon.${pname}"; }; }; meta = with lib; { description = "GTK notification server for Pantheon"; homepage = "https://github.com/elementary/notifications"; license = licenses.gpl3Plus; maintainers = teams.pantheon.members; platforms = platforms.linux; mainProgram = "io.elementary.notifications"; }; }