2019-08-06 11:25:59 -07:00
|
|
|
{ mkDerivation
|
2016-02-19 06:12:08 -08:00
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, kdbusaddons
|
2017-10-13 05:20:39 -07:00
|
|
|
, kdoctools
|
2016-02-19 06:12:08 -08:00
|
|
|
, kiconthemes
|
|
|
|
, ki18n
|
|
|
|
, knotifications
|
|
|
|
, qca-qt5
|
|
|
|
, libfakekey
|
|
|
|
, libXtst
|
2017-06-25 00:48:38 -07:00
|
|
|
, qtx11extras
|
2018-01-05 08:03:44 -08:00
|
|
|
, sshfs
|
|
|
|
, makeWrapper
|
2018-04-10 19:16:28 -07:00
|
|
|
, kwayland
|
2019-11-20 04:13:09 -08:00
|
|
|
, kio
|
2014-11-03 12:55:33 -08:00
|
|
|
}:
|
2014-06-22 01:56:43 -07:00
|
|
|
|
2019-08-06 11:25:59 -07:00
|
|
|
mkDerivation rec {
|
2017-10-10 11:30:34 -07:00
|
|
|
pname = "kdeconnect";
|
2019-08-04 07:11:55 -07:00
|
|
|
version = "1.3.5";
|
2014-06-22 01:56:43 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-22 12:48:41 -07:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/${pname}-kde-${version}.tar.xz";
|
2019-08-04 07:11:55 -07:00
|
|
|
sha256 = "02lr3xx5s2mgddac4n3lkgr7ppf1z5m6ajs90rjix0vs8a271kp5";
|
2014-06-22 01:56:43 -07:00
|
|
|
};
|
|
|
|
|
2016-02-19 06:12:08 -08:00
|
|
|
buildInputs = [
|
2017-10-13 05:20:39 -07:00
|
|
|
libfakekey libXtst
|
|
|
|
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications
|
2019-11-20 04:13:09 -08:00
|
|
|
qca-qt5 qtx11extras makeWrapper kwayland kio
|
2016-02-19 06:12:08 -08:00
|
|
|
];
|
2015-09-27 08:11:01 -07:00
|
|
|
|
2017-10-13 05:20:39 -07:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
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
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
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-03-31 18:11:51 -07:00
|
|
|
homepage = "https://community.kde.org/KDEConnect";
|
2017-10-13 05:20:39 -07:00
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
2014-06-22 01:56:43 -07:00
|
|
|
};
|
|
|
|
}
|