nixpkgs/pkgs/applications/kde/neochat.nix
Alyssa Ross d1e3c1acc7
neochat: add missing runtime dependencies
Without these, it fails to launch, e.g.:

> QQmlApplicationEngine failed to load component
> qrc:/main.qml:20:5: Type RoomList.Page unavailable
> qrc:/RoomList/Page.qml:87:20: Type ExploreComponent unavailable
> qrc:/RoomList/ExploreComponent.qml: Type org.kde.neochat/OsmLocationPlugin unavailable
> qrc:/OsmLocationPlugin.qml:7:1: module "QtLocation" is not installed

Fixes: e50edcb506 ("kde/gear: 23.04.3 -> 23.08.0")
2023-09-14 13:08:36 +00:00

77 lines
1.2 KiB
Nix

{ mkDerivation
, lib
, cmake
, extra-cmake-modules
, pkg-config
, wrapQtAppsHook
, cmark
, kconfig
, kdbusaddons
, ki18n
, kio
, kirigami-addons
, kirigami2
, kitemmodels
, knotifications
, kquickcharts
, kquickimageedit
, libpulseaudio
, libquotient
, libsecret
, olm
, qcoro
, qqc2-desktop-style
, qtgraphicaleffects
, qtkeychain
, qtlocation
, qtmultimedia
, qtquickcontrols2
, sonnet
}:
mkDerivation {
pname = "neochat";
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
];
buildInputs = [
cmark
kconfig
kdbusaddons
kio
ki18n
kirigami-addons
kirigami2
kitemmodels
knotifications
kquickcharts
kquickimageedit
libpulseaudio
libquotient
libsecret
olm
qcoro
qtgraphicaleffects
qtkeychain
qtlocation
qtmultimedia
qtquickcontrols2
qqc2-desktop-style
sonnet
];
meta = with lib; {
description = "A client for matrix, the decentralized communication protocol";
homepage = "https://apps.kde.org/en/neochat";
license = licenses.gpl3Only;
maintainers = with maintainers; [ peterhoeg ];
platforms = with platforms; linux;
};
}