2019-08-06 11:25:59 -07:00
|
|
|
{ mkDerivation
|
2016-02-19 06:12:08 -08:00
|
|
|
, extra-cmake-modules
|
2020-10-28 01:13:31 -07:00
|
|
|
, fetchpatch
|
2016-02-19 06:12:08 -08:00
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, kdbusaddons
|
2017-10-13 05:20:39 -07:00
|
|
|
, kdoctools
|
2016-02-19 06:12:08 -08:00
|
|
|
, ki18n
|
2020-10-28 01:13:31 -07:00
|
|
|
, kiconthemes
|
|
|
|
, kio
|
|
|
|
, kirigami2
|
2016-02-19 06:12:08 -08:00
|
|
|
, knotifications
|
2020-10-28 01:13:31 -07:00
|
|
|
, kpeople
|
|
|
|
, kpeoplevcard
|
|
|
|
, kwayland
|
|
|
|
, lib
|
2016-02-19 06:12:08 -08:00
|
|
|
, libXtst
|
2020-10-28 01:13:31 -07:00
|
|
|
, libfakekey
|
2018-01-05 08:03:44 -08:00
|
|
|
, makeWrapper
|
2020-10-08 12:14:03 -07:00
|
|
|
, pulseaudio-qt
|
2020-10-28 01:13:31 -07:00
|
|
|
, qca-qt5
|
|
|
|
, qtgraphicaleffects
|
|
|
|
, qtmultimedia
|
|
|
|
, qtx11extras
|
|
|
|
, sshfs
|
2014-11-03 12:55:33 -08:00
|
|
|
}:
|
2014-06-22 01:56:43 -07:00
|
|
|
|
2020-10-28 01:13:31 -07:00
|
|
|
mkDerivation {
|
|
|
|
name = "kdeconnect-kde";
|
2014-06-22 01:56:43 -07:00
|
|
|
|
2020-10-08 12:14:03 -07:00
|
|
|
patches = [
|
|
|
|
# https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/328
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://invent.kde.org/network/kdeconnect-kde/-/commit/6101ef3ad07d865958d58a3d2736f5536f1c5719.diff";
|
|
|
|
sha256 = "17mr7k13226vzcgxlmfs6q2mdc5j7vwp4iri9apmh6xlf6r591ac";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-02-19 06:12:08 -08:00
|
|
|
buildInputs = [
|
2020-10-08 12:14:03 -07:00
|
|
|
kcmutils
|
|
|
|
kconfigwidgets
|
|
|
|
kdbusaddons
|
2020-10-28 01:13:31 -07:00
|
|
|
ki18n
|
|
|
|
kiconthemes
|
|
|
|
kio
|
|
|
|
kirigami2
|
2020-10-08 12:14:03 -07:00
|
|
|
knotifications
|
2020-10-28 01:13:31 -07:00
|
|
|
kpeople
|
|
|
|
kpeoplevcard
|
|
|
|
kwayland
|
|
|
|
libXtst
|
|
|
|
libfakekey
|
|
|
|
pulseaudio-qt
|
2020-10-08 12:14:03 -07:00
|
|
|
qca-qt5
|
2020-10-28 01:13:31 -07:00
|
|
|
qtgraphicaleffects
|
|
|
|
qtmultimedia
|
2020-10-08 12:14:03 -07:00
|
|
|
qtx11extras
|
2016-02-19 06:12:08 -08:00
|
|
|
];
|
2015-09-27 08:11:01 -07:00
|
|
|
|
2020-10-28 01:13:31 -07:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
2014-06-22 01:56:43 -07:00
|
|
|
|
2018-01-05 08:03:44 -08:00
|
|
|
postInstall = ''
|
2019-07-21 07:25:58 -07:00
|
|
|
wrapProgram $out/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
|
2018-01-05 08:03:44 -08:00
|
|
|
'';
|
|
|
|
|
2017-10-13 05:20:39 -07:00
|
|
|
meta = with lib; {
|
2016-02-19 06:12:08 -08:00
|
|
|
description = "KDE Connect provides several features to integrate your phone and your computer";
|
2020-10-28 01:13:31 -07:00
|
|
|
homepage = "https://community.kde.org/KDEConnect";
|
|
|
|
license = with licenses; [ gpl2 ];
|
2017-10-13 05:20:39 -07:00
|
|
|
maintainers = with maintainers; [ fridh ];
|
2014-06-22 01:56:43 -07:00
|
|
|
};
|
|
|
|
}
|