forked from mirrors/nixpkgs
b53295783e
qcoro: 0.4.0 -> 0.6.0 and AArch64 fix
60 lines
944 B
Nix
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 ];
|
|
};
|
|
}
|