depot/third_party/nixpkgs/pkgs/applications/kde/kdeconnect-kde.nix

87 lines
1.5 KiB
Nix

{
mkDerivation,
extra-cmake-modules,
kcmutils,
kconfigwidgets,
kdbusaddons,
kdoctools,
ki18n,
kiconthemes,
kio,
kirigami2,
kirigami-addons,
knotifications,
kpeople,
kpeoplevcard,
kwayland,
lib,
libXtst,
libfakekey,
makeWrapper,
modemmanager-qt,
pulseaudio-qt,
qca-qt5,
qqc2-desktop-style,
qtgraphicaleffects,
qtmultimedia,
qtquickcontrols2,
qtx11extras,
breeze-icons,
sshfs,
wayland,
wayland-protocols,
wayland-scanner,
plasma-wayland-protocols,
}:
mkDerivation {
pname = "kdeconnect-kde";
buildInputs = [
kcmutils
kconfigwidgets
kdbusaddons
ki18n
kiconthemes
kio
kirigami2
kirigami-addons
knotifications
kpeople
kpeoplevcard
kwayland
libXtst
libfakekey
modemmanager-qt
pulseaudio-qt
qca-qt5
qqc2-desktop-style
qtgraphicaleffects
qtmultimedia
qtquickcontrols2
qtx11extras
wayland
wayland-protocols
wayland-scanner
plasma-wayland-protocols
# otherwise buttons are blank on non-kde
breeze-icons
];
nativeBuildInputs = [
extra-cmake-modules
kdoctools
makeWrapper
];
qtWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ sshfs ]}"
];
meta = with lib; {
description = "KDE Connect provides several features to integrate your phone and your computer";
homepage = "https://community.kde.org/KDEConnect";
license = with licenses; [ gpl2 ];
mainProgram = "kdeconnect-app";
};
}