Files
nixpkgs/pkgs/by-name/ch/chatty/package.nix
Tom Hunze c0e8f0697b glibmm: rename to glibmm_2_4
Having the older ABI version as the default seems odd and the different
glibmm packages appear to be fundamentally incompatible, so drop the
unsuffixed version similar to webkitgtk and as discussed in [1].

[1] https://github.com/NixOS/nixpkgs/pull/543345#issuecomment-5199018730
2026-09-08 21:34:33 +02:00

89 lines
1.7 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
appstream-glib,
desktop-file-utils,
itstool,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
evolution-data-server,
feedbackd,
glibmm_2_4,
libsecret,
gnome-desktop,
gspell,
gtk4,
gtksourceview5,
gst_all_1,
libcmatrix,
libadwaita,
libphonenumber,
modemmanager,
pidgin,
protobuf,
sqlite,
plugins ? [ ],
}:
stdenv.mkDerivation (finalAttrs: {
pname = "chatty";
version = "0.8.9";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Chatty";
tag = "v${finalAttrs.version}";
hash = "sha256-XLpvgRSvIi3Wk5SaomROp94HDT8JNFfLdRX1PJgQYkI=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
itstool
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
evolution-data-server
feedbackd
glibmm_2_4
libsecret
gnome-desktop
gspell
gtk4
gtksourceview5
gst_all_1.gstreamer
libcmatrix
libadwaita
libphonenumber
modemmanager
pidgin
protobuf
sqlite
];
preFixup = ''
gappsWrapperArgs+=(
--prefix PURPLE_PLUGIN_PATH : ${lib.escapeShellArg (pidgin.makePluginPath plugins)}
${lib.concatMapStringsSep " " (p: p.wrapArgs or "") plugins}
)
'';
meta = {
description = "XMPP and SMS messaging via libpurple and ModemManager";
mainProgram = "chatty";
homepage = "https://gitlab.gnome.org/World/Chatty";
changelog = "https://gitlab.gnome.org/World/Chatty/-/blob/${finalAttrs.src.tag}/NEWS";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.linux;
};
})