2020-12-27 10:49:17 +01:00
|
|
|
{ mkDerivation
|
2021-01-25 09:26:54 +01:00
|
|
|
, lib
|
2020-12-27 10:49:17 +01:00
|
|
|
, fetchFromGitLab
|
|
|
|
, pkg-config
|
2020-12-24 06:21:19 +01:00
|
|
|
, cmake
|
2020-12-27 10:49:17 +01:00
|
|
|
, cmark
|
|
|
|
, extra-cmake-modules
|
2021-07-14 04:24:28 +02:00
|
|
|
, kconfig
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
2020-12-27 10:49:17 +01:00
|
|
|
, kirigami2
|
2020-12-27 23:58:17 +01:00
|
|
|
, kitemmodels
|
2020-12-27 10:49:17 +01:00
|
|
|
, knotifications
|
|
|
|
, kquickimageedit
|
2021-07-14 04:24:28 +02:00
|
|
|
, libpulseaudio
|
|
|
|
, libquotient
|
|
|
|
, libsecret
|
|
|
|
, olm
|
|
|
|
, qqc2-desktop-style
|
|
|
|
, qtgraphicaleffects
|
|
|
|
, qtkeychain
|
|
|
|
, qtmultimedia
|
|
|
|
, qtquickcontrols2
|
2020-12-24 06:21:19 +01:00
|
|
|
}:
|
|
|
|
|
2020-12-27 10:49:17 +01:00
|
|
|
mkDerivation rec {
|
2020-12-24 06:21:19 +01:00
|
|
|
pname = "neochat";
|
2021-07-14 04:24:28 +02:00
|
|
|
version = "1.2";
|
2020-12-24 06:21:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "network";
|
|
|
|
repo = pname;
|
2020-12-29 23:17:11 +01:00
|
|
|
rev = "v${version}";
|
2021-07-14 04:24:28 +02:00
|
|
|
sha256 = "sha256-Kpv7BY/qS0A3xFlYFhz1RRNwQVsyhOTHHGDbWRTTv1I=";
|
2020-12-24 06:21:19 +01:00
|
|
|
};
|
|
|
|
|
2020-12-27 10:49:17 +01:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmark
|
2021-07-14 04:24:28 +02:00
|
|
|
kconfig
|
|
|
|
kdbusaddons
|
|
|
|
ki18n
|
2020-12-27 10:49:17 +01:00
|
|
|
kirigami2
|
2020-12-27 23:58:17 +01:00
|
|
|
kitemmodels
|
2020-12-27 10:49:17 +01:00
|
|
|
knotifications
|
|
|
|
kquickimageedit
|
|
|
|
libpulseaudio
|
2021-07-14 04:24:28 +02:00
|
|
|
libquotient
|
|
|
|
libsecret
|
|
|
|
olm
|
|
|
|
qtgraphicaleffects
|
|
|
|
qtkeychain
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols2
|
|
|
|
qqc2-desktop-style
|
2020-12-27 10:49:17 +01:00
|
|
|
];
|
2020-12-24 06:21:19 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-12-24 06:21:19 +01:00
|
|
|
description = "A client for matrix, the decentralized communication protocol.";
|
|
|
|
homepage = "https://apps.kde.org/en/neochat";
|
2020-12-27 10:49:17 +01:00
|
|
|
license = licenses.gpl3Only;
|
2020-12-30 00:02:04 +01:00
|
|
|
maintainers = with maintainers; [ mjlbach peterhoeg ];
|
2020-12-24 06:21:19 +01:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|