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