nixpkgs/pkgs/applications/plasma-mobile/spacebar.nix
Samuel Dionne-Riel b53295783e
Merge pull request #196047 from samueldr/fix/qcoro-0.6-aarch64-alt
qcoro: 0.4.0 -> 0.6.0 and AArch64 fix
2022-10-18 01:07:07 -04:00

60 lines
944 B
Nix

{ lib
, mkDerivation
, gcc11Stdenv
, srcs
, cmake
, extra-cmake-modules
, wrapQtAppsHook
, c-ares
, curl
, kcontacts
, ki18n
, kio
, kirigami2
, knotifications
, kpeople
, libphonenumber
, libqofono
, modemmanager-qt
, protobuf
, qcoro
, qtquickcontrols2
}:
# Workaround for AArch64 not using GCC11 yet.
gcc11Stdenv.mkDerivation rec {
pname = "spacebar";
inherit (srcs.spacebar) version src;
nativeBuildInputs = [
cmake
extra-cmake-modules
wrapQtAppsHook
];
buildInputs = [
c-ares
curl
kcontacts
ki18n
kio
kirigami2
knotifications
kpeople
libphonenumber
modemmanager-qt
protobuf # Needed by libphonenumber
qcoro
qtquickcontrols2
];
meta = with lib; {
description = "SMS application for Plasma Mobile";
homepage = "https://invent.kde.org/plasma-mobile/spacebar";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ samueldr ];
};
}