nixpkgs/pkgs/applications/plasma-mobile/plasma-dialer.nix

78 lines
1.2 KiB
Nix
Raw Normal View History

2021-03-22 23:45:47 +01:00
{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, callaudiod
2021-03-22 23:45:47 +01:00
, kcontacts
, kcoreaddons
, kdbusaddons
, ki18n
, kio
2021-03-22 23:45:47 +01:00
, kirigami2
, knotifications
, kpeople
, libphonenumber
, libselinux
, libsepol
, modemmanager-qt
, pcre
, plasma-wayland-protocols
2021-03-22 23:45:47 +01:00
, protobuf
, pulseaudio-qt
, qtfeedback
, qtmpris
2021-03-22 23:45:47 +01:00
, qtquickcontrols2
, util-linux
, wayland
, wayland-protocols
2021-03-22 23:45:47 +01:00
}:
mkDerivation rec {
pname = "plasma-dialer";
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
callaudiod
2021-03-22 23:45:47 +01:00
kcontacts
kcoreaddons
kdbusaddons
ki18n
kio
2021-03-22 23:45:47 +01:00
kirigami2
knotifications
kpeople
libphonenumber
libselinux
libsepol
modemmanager-qt
pcre
plasma-wayland-protocols
2021-03-22 23:45:47 +01:00
protobuf # Needed by libphonenumber
pulseaudio-qt
qtfeedback
qtmpris
2021-03-22 23:45:47 +01:00
qtquickcontrols2
util-linux
wayland
wayland-protocols
2021-03-22 23:45:47 +01: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 ];
};
}