2021-03-24 21:37:05 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2023-02-05 10:13:34 +01:00
|
|
|
, gcc12Stdenv
|
2022-09-21 03:09:09 +02:00
|
|
|
, srcs
|
2021-03-24 21:37:05 +01:00
|
|
|
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
2022-09-21 03:09:09 +02:00
|
|
|
, wrapQtAppsHook
|
2021-03-24 21:37:05 +01:00
|
|
|
|
2022-10-01 06:18:48 +02:00
|
|
|
, c-ares
|
|
|
|
, curl
|
2021-03-24 21:37:05 +01:00
|
|
|
, kcontacts
|
|
|
|
, ki18n
|
2022-06-25 21:12:42 +02:00
|
|
|
, kio
|
2023-02-03 00:05:02 +01:00
|
|
|
, kirigami-addons
|
2021-03-24 21:37:05 +01:00
|
|
|
, kirigami2
|
|
|
|
, knotifications
|
|
|
|
, kpeople
|
2021-10-06 23:03:12 +02:00
|
|
|
, libphonenumber
|
2021-03-24 21:37:05 +01:00
|
|
|
, libqofono
|
2021-12-30 22:16:56 +01:00
|
|
|
, modemmanager-qt
|
2021-10-06 23:03:12 +02:00
|
|
|
, protobuf
|
2021-12-30 22:16:56 +01:00
|
|
|
, qcoro
|
|
|
|
, qtquickcontrols2
|
2021-03-24 21:37:05 +01:00
|
|
|
}:
|
|
|
|
|
2023-02-05 10:13:34 +01:00
|
|
|
# Workaround for AArch64 still using GCC9.
|
|
|
|
gcc12Stdenv.mkDerivation rec {
|
2021-03-24 21:37:05 +01:00
|
|
|
pname = "spacebar";
|
2022-09-21 03:09:09 +02:00
|
|
|
inherit (srcs.spacebar) version src;
|
2021-03-24 21:37:05 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
2022-09-21 03:09:09 +02:00
|
|
|
wrapQtAppsHook
|
2021-03-24 21:37:05 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-10-01 06:18:48 +02:00
|
|
|
c-ares
|
|
|
|
curl
|
2021-03-24 21:37:05 +01:00
|
|
|
kcontacts
|
|
|
|
ki18n
|
2022-06-25 21:12:42 +02:00
|
|
|
kio
|
2023-02-03 00:05:02 +01:00
|
|
|
kirigami-addons
|
2021-03-24 21:37:05 +01:00
|
|
|
kirigami2
|
|
|
|
knotifications
|
|
|
|
kpeople
|
2021-10-06 23:03:12 +02:00
|
|
|
libphonenumber
|
2021-12-30 22:16:56 +01:00
|
|
|
modemmanager-qt
|
2021-10-06 23:03:12 +02:00
|
|
|
protobuf # Needed by libphonenumber
|
2021-12-30 22:16:56 +01:00
|
|
|
qcoro
|
|
|
|
qtquickcontrols2
|
2021-03-24 21:37:05 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|