2021-10-06 13:57:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2022-10-21 18:38:19 +00:00
|
|
|
, gcc11Stdenv
|
|
|
|
, srcs
|
2021-10-06 13:57:05 +00:00
|
|
|
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
2022-10-21 18:38:19 +00:00
|
|
|
, wrapQtAppsHook
|
2021-10-06 13:57:05 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
, c-ares
|
|
|
|
, curl
|
2021-10-06 13:57:05 +00:00
|
|
|
, kcontacts
|
|
|
|
, ki18n
|
2022-08-12 12:06:08 +00:00
|
|
|
, kio
|
2021-10-06 13:57:05 +00:00
|
|
|
, kirigami2
|
|
|
|
, knotifications
|
|
|
|
, kpeople
|
2021-10-28 06:52:43 +00:00
|
|
|
, libphonenumber
|
2021-10-06 13:57:05 +00:00
|
|
|
, libqofono
|
2022-05-18 14:49:53 +00:00
|
|
|
, modemmanager-qt
|
2021-10-28 06:52:43 +00:00
|
|
|
, protobuf
|
2022-05-18 14:49:53 +00:00
|
|
|
, qcoro
|
|
|
|
, qtquickcontrols2
|
2021-10-06 13:57:05 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
# Workaround for AArch64 not using GCC11 yet.
|
|
|
|
gcc11Stdenv.mkDerivation rec {
|
2021-10-06 13:57:05 +00:00
|
|
|
pname = "spacebar";
|
2022-10-21 18:38:19 +00:00
|
|
|
inherit (srcs.spacebar) version src;
|
2021-10-06 13:57:05 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
2022-10-21 18:38:19 +00:00
|
|
|
wrapQtAppsHook
|
2021-10-06 13:57:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-10-21 18:38:19 +00:00
|
|
|
c-ares
|
|
|
|
curl
|
2021-10-06 13:57:05 +00:00
|
|
|
kcontacts
|
|
|
|
ki18n
|
2022-08-12 12:06:08 +00:00
|
|
|
kio
|
2021-10-06 13:57:05 +00:00
|
|
|
kirigami2
|
|
|
|
knotifications
|
|
|
|
kpeople
|
2021-10-28 06:52:43 +00:00
|
|
|
libphonenumber
|
2022-05-18 14:49:53 +00:00
|
|
|
modemmanager-qt
|
2021-10-28 06:52:43 +00:00
|
|
|
protobuf # Needed by libphonenumber
|
2022-05-18 14:49:53 +00:00
|
|
|
qcoro
|
|
|
|
qtquickcontrols2
|
2021-10-06 13:57:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SMS application for Plasma Mobile";
|
|
|
|
homepage = "https://invent.kde.org/plasma-mobile/spacebar";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ samueldr ];
|
|
|
|
};
|
|
|
|
}
|