{ lib, stdenv, fetchFromGitLab, glib, gmime3, gnutls, gpgme, gtk3, gtksourceview4, gtkspell3, libcanberra-gtk3, libesmtp, libical, libnotify, libsecret, openssl, meson, ninja, pkg-config, sqlite, webkitgtk_4_0, wrapGAppsHook3, }: stdenv.mkDerivation (finalAttrs: { pname = "balsa"; version = "2.6.5"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; repo = "balsa"; tag = finalAttrs.version; hash = "sha256-KvgDIFbXmVkTqOibKF+8UhupEDgdhje600aSbmeKZqo="; }; nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook3 ]; buildInputs = [ glib gmime3 gnutls gpgme gtk3 gtksourceview4 gtkspell3 libcanberra-gtk3 libesmtp libical libnotify libsecret openssl sqlite webkitgtk_4_0 ]; mesonFlags = [ (lib.mesonOption "sysconfdir" "etc") ]; configureFlags = [ "--with-canberra" "--with-gtksourceview" "--with-libsecret" "--with-spell-checker=gtkspell" "--with-sqlite" "--with-ssl" "--with-unique" "--without-gnome" ]; enableParallelBuilding = true; meta = { description = "E-mail client for GNOME"; homepage = "https://gitlab.gnome.org/GNOME/balsa"; changelog = "https://gitlab.gnome.org/GNOME/balsa/-/blob/master/ChangeLog"; mainProgram = "balsa"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ timon ]; }; })