2023-08-02 10:49:44 +00:00
|
|
|
{ chatty
|
|
|
|
, fetchFromGitLab
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, itstool
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
# , wrapGAppsHook
|
|
|
|
# , evolution-data-server
|
|
|
|
, feedbackd
|
|
|
|
, glibmm
|
|
|
|
, gnome-desktop
|
|
|
|
, gspell
|
|
|
|
# , gtk3
|
|
|
|
, json-glib
|
|
|
|
, libgcrypt
|
|
|
|
, libhandy
|
|
|
|
, libphonenumber
|
2023-11-22 03:50:39 +00:00
|
|
|
, libsecret
|
2023-08-02 10:49:44 +00:00
|
|
|
, modemmanager
|
|
|
|
, olm
|
|
|
|
, pidgin
|
|
|
|
, protobuf
|
|
|
|
, sqlite
|
|
|
|
# NEW
|
|
|
|
, evolution-data-server-gtk4
|
2023-08-02 11:13:11 +00:00
|
|
|
, glib-networking
|
2023-08-02 10:49:44 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, wrapGAppsHook4
|
|
|
|
}:
|
2023-09-16 09:21:36 +00:00
|
|
|
chatty.overrideAttrs (upstream: rec {
|
2023-08-02 10:49:44 +00:00
|
|
|
pname = "chatty-latest";
|
2023-09-16 09:21:36 +00:00
|
|
|
version = "v0.8.0_rc0"; # 2023-07-31
|
2023-08-02 10:49:44 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "source.puri.sm";
|
|
|
|
owner = "Librem5";
|
|
|
|
repo = "chatty";
|
2023-09-16 09:21:36 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-dR6f9ZTAj1sXyoMmVyNog6XZthdZt9XrGFSi1KCRTcM=";
|
2023-08-02 10:49:44 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2023-08-03 06:02:42 +00:00
|
|
|
postPatch = (upstream.postPatch or "") + ''
|
|
|
|
substituteInPlace build-aux/meson/postinstall.py \
|
|
|
|
--replace 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
|
|
|
|
'';
|
|
|
|
|
2023-08-02 10:49:44 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
#wrapGAppsHook
|
|
|
|
|
|
|
|
# NEW
|
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
# evolution-data-server
|
|
|
|
feedbackd
|
2023-08-02 11:13:11 +00:00
|
|
|
glib-networking # for TLS
|
2023-08-02 10:49:44 +00:00
|
|
|
glibmm
|
|
|
|
gnome-desktop
|
|
|
|
gspell
|
|
|
|
# gtk3
|
|
|
|
json-glib
|
|
|
|
libgcrypt
|
|
|
|
libhandy
|
|
|
|
libphonenumber
|
2023-11-22 03:50:39 +00:00
|
|
|
libsecret
|
2023-08-02 10:49:44 +00:00
|
|
|
modemmanager
|
|
|
|
olm
|
|
|
|
pidgin
|
|
|
|
protobuf
|
|
|
|
sqlite
|
|
|
|
|
|
|
|
# NEW
|
|
|
|
libadwaita
|
|
|
|
gtk4
|
|
|
|
evolution-data-server-gtk4
|
|
|
|
];
|
|
|
|
})
|