2021-03-22 23:45:47 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
|
2022-05-10 06:56:18 +02:00
|
|
|
, callaudiod
|
2021-03-22 23:45:47 +01:00
|
|
|
, kcontacts
|
|
|
|
, kcoreaddons
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
2022-10-01 06:18:36 +02:00
|
|
|
, kio
|
2021-03-22 23:45:47 +01:00
|
|
|
, kirigami2
|
|
|
|
, knotifications
|
|
|
|
, kpeople
|
|
|
|
, libphonenumber
|
2022-10-01 06:18:36 +02:00
|
|
|
, libselinux
|
|
|
|
, libsepol
|
2021-12-30 22:16:56 +01:00
|
|
|
, modemmanager-qt
|
2022-10-01 06:18:36 +02:00
|
|
|
, pcre
|
|
|
|
, plasma-wayland-protocols
|
2021-03-22 23:45:47 +01:00
|
|
|
, protobuf
|
2022-10-01 06:18:36 +02:00
|
|
|
, pulseaudio-qt
|
2021-12-30 22:16:56 +01:00
|
|
|
, qtfeedback
|
2022-05-10 06:56:18 +02:00
|
|
|
, qtmpris
|
2021-03-22 23:45:47 +01:00
|
|
|
, qtquickcontrols2
|
2022-10-01 06:18:36 +02:00
|
|
|
, util-linux
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2021-03-22 23:45:47 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "plasma-dialer";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-05-10 06:56:18 +02:00
|
|
|
callaudiod
|
2021-03-22 23:45:47 +01:00
|
|
|
kcontacts
|
|
|
|
kcoreaddons
|
|
|
|
kdbusaddons
|
|
|
|
ki18n
|
2022-10-01 06:18:36 +02:00
|
|
|
kio
|
2021-03-22 23:45:47 +01:00
|
|
|
kirigami2
|
|
|
|
knotifications
|
|
|
|
kpeople
|
|
|
|
libphonenumber
|
2022-10-01 06:18:36 +02:00
|
|
|
libselinux
|
|
|
|
libsepol
|
2021-12-30 22:16:56 +01:00
|
|
|
modemmanager-qt
|
2022-10-01 06:18:36 +02:00
|
|
|
pcre
|
|
|
|
plasma-wayland-protocols
|
2021-03-22 23:45:47 +01:00
|
|
|
protobuf # Needed by libphonenumber
|
2022-10-01 06:18:36 +02:00
|
|
|
pulseaudio-qt
|
2021-12-30 22:16:56 +01:00
|
|
|
qtfeedback
|
2022-05-10 06:56:18 +02:00
|
|
|
qtmpris
|
2021-03-22 23:45:47 +01:00
|
|
|
qtquickcontrols2
|
2022-10-01 06:18:36 +02:00
|
|
|
util-linux
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
2021-03-22 23:45:47 +01:00
|
|
|
];
|
|
|
|
|
2022-10-01 06:18:36 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace plasma-dialer/org.kde.phone.dialer.desktop \
|
|
|
|
--replace "/usr/bin/" "$out/bin/"
|
|
|
|
'';
|
|
|
|
|
2021-03-22 23:45:47 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Dialer for Plasma Mobile";
|
|
|
|
homepage = "https://invent.kde.org/plasma-mobile/plasma-dialer";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ samueldr ];
|
|
|
|
};
|
|
|
|
}
|