2023-04-29 16:46:19 +00:00
|
|
|
{ mkDerivation
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib
|
2023-08-10 07:59:29 +00:00
|
|
|
, fetchpatch
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2020-12-26 04:20:00 +00:00
|
|
|
, cmake
|
2020-12-29 15:07:52 +00:00
|
|
|
, extra-cmake-modules
|
2022-10-21 18:38:19 +00:00
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
|
|
|
|
|
|
|
, cmark
|
2021-07-16 19:40:57 +00:00
|
|
|
, kconfig
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
2022-03-30 09:31:56 +00:00
|
|
|
, kio
|
2022-12-28 21:21:41 +00:00
|
|
|
, kirigami-addons
|
2020-12-29 15:07:52 +00:00
|
|
|
, kirigami2
|
|
|
|
, kitemmodels
|
|
|
|
, knotifications
|
|
|
|
, kquickimageedit
|
2021-07-16 19:40:57 +00:00
|
|
|
, libpulseaudio
|
|
|
|
, libquotient
|
|
|
|
, libsecret
|
|
|
|
, olm
|
2022-03-30 09:31:56 +00:00
|
|
|
, qcoro
|
2021-07-16 19:40:57 +00:00
|
|
|
, qqc2-desktop-style
|
|
|
|
, qtgraphicaleffects
|
|
|
|
, qtkeychain
|
|
|
|
, qtmultimedia
|
|
|
|
, qtquickcontrols2
|
2022-03-30 09:31:56 +00:00
|
|
|
, sonnet
|
2020-12-26 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
mkDerivation {
|
2020-12-26 04:20:00 +00:00
|
|
|
pname = "neochat";
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "libquotient-0.8.patch";
|
|
|
|
url = "https://invent.kde.org/network/neochat/-/commit/d9d5e17be2a2057ab2ee545561fab721cb211f7f.patch";
|
|
|
|
hash = "sha256-y1PEehFCW+69OH8YvL3SUGOb8Hhyf8xwRvSZzJ5J5Wc=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2020-12-29 15:07:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmark
|
2021-07-16 19:40:57 +00:00
|
|
|
kconfig
|
|
|
|
kdbusaddons
|
2022-03-30 09:31:56 +00:00
|
|
|
kio
|
2021-07-16 19:40:57 +00:00
|
|
|
ki18n
|
2022-12-28 21:21:41 +00:00
|
|
|
kirigami-addons
|
2020-12-29 15:07:52 +00:00
|
|
|
kirigami2
|
|
|
|
kitemmodels
|
|
|
|
knotifications
|
|
|
|
kquickimageedit
|
|
|
|
libpulseaudio
|
2021-07-16 19:40:57 +00:00
|
|
|
libquotient
|
|
|
|
libsecret
|
|
|
|
olm
|
2022-03-30 09:31:56 +00:00
|
|
|
qcoro
|
2021-07-16 19:40:57 +00:00
|
|
|
qtgraphicaleffects
|
|
|
|
qtkeychain
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols2
|
|
|
|
qqc2-desktop-style
|
2022-03-30 09:31:56 +00:00
|
|
|
sonnet
|
2020-12-29 15:07:52 +00:00
|
|
|
];
|
2020-12-26 04:20:00 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-05-18 14:49:53 +00:00
|
|
|
description = "A client for matrix, the decentralized communication protocol";
|
2020-12-26 04:20:00 +00:00
|
|
|
homepage = "https://apps.kde.org/en/neochat";
|
2020-12-29 15:07:52 +00:00
|
|
|
license = licenses.gpl3Only;
|
2022-02-20 05:27:41 +00:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2020-12-26 04:20:00 +00:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|