nixpkgs/pkgs/by-name/ch/chatty/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

93 lines
1.7 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitLab
, appstream-glib
, desktop-file-utils
2022-03-30 09:50:14 +00:00
, itstool
, meson
, ninja
, pkg-config
, wrapGAppsHook4
, evolution-data-server
, feedbackd
2021-09-11 23:36:16 +00:00
, glibmm
, libsecret
2022-03-16 21:16:40 +00:00
, gnome-desktop
2021-09-11 23:36:16 +00:00
, gspell
, gtk4
, gtksourceview5
, gst_all_1
, json-glib
, libgcrypt
, libadwaita
, libphonenumber
2021-09-11 23:36:16 +00:00
, modemmanager
, olm
, pidgin
, protobuf
, sqlite
, plugins ? [ ]
}:
stdenv.mkDerivation (finalAttrs: {
pname = "chatty";
2024-07-09 04:32:03 +00:00
version = "0.8.4";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Chatty";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
2024-07-09 04:32:03 +00:00
hash = "sha256-1CHreTkw1C3tc6vOCG+7Y/u4R/xTFOnlI4mcxjY/alY=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
2022-03-30 09:50:14 +00:00
itstool
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
evolution-data-server
feedbackd
2021-09-11 23:36:16 +00:00
glibmm
libsecret
2022-03-16 21:16:40 +00:00
gnome-desktop
2021-09-11 23:36:16 +00:00
gspell
gtk4
gtksourceview5
gst_all_1.gstreamer
json-glib
libgcrypt
libadwaita
libphonenumber
2021-09-11 23:36:16 +00:00
modemmanager
olm
pidgin
protobuf
sqlite
];
preFixup = ''
gappsWrapperArgs+=(
2022-05-06 16:27:35 +00:00
--prefix PURPLE_PLUGIN_PATH : ${lib.escapeShellArg (pidgin.makePluginPath plugins)}
${lib.concatMapStringsSep " " (p: p.wrapArgs or "") plugins}
)
'';
meta = with lib; {
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.rev}/NEWS";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
platforms = platforms.linux;
};
})