2016-02-19 14:12:08 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, kdbusaddons
|
2017-10-13 13:20:39 +01:00
|
|
|
, kdoctools
|
2016-02-19 14:12:08 +00:00
|
|
|
, kiconthemes
|
|
|
|
, ki18n
|
|
|
|
, knotifications
|
|
|
|
, qca-qt5
|
|
|
|
, libfakekey
|
|
|
|
, libXtst
|
2017-06-25 08:48:38 +01:00
|
|
|
, qtx11extras
|
2018-01-05 16:03:44 +00:00
|
|
|
, sshfs
|
|
|
|
, makeWrapper
|
2018-04-11 03:16:28 +01:00
|
|
|
, kwayland
|
2014-11-03 20:55:33 +00:00
|
|
|
}:
|
2014-06-22 09:56:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-10 19:30:34 +01:00
|
|
|
pname = "kdeconnect";
|
2018-04-11 03:16:28 +01:00
|
|
|
version = "1.3.0";
|
2017-10-10 19:30:34 +01:00
|
|
|
name = "${pname}-${version}";
|
2014-06-22 09:56:43 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-04-11 03:16:28 +01:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-kde-${version}.tar.xz";
|
|
|
|
sha256 = "0gzv55hks6j37pf7d18l40n1q6j8b74j9qg3v44p8sp0gnglwkcm";
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
buildInputs = [
|
2017-10-13 13:20:39 +01:00
|
|
|
libfakekey libXtst
|
|
|
|
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications
|
2018-04-11 03:16:28 +01:00
|
|
|
qca-qt5 qtx11extras makeWrapper kwayland
|
2016-02-19 14:12:08 +00:00
|
|
|
];
|
2015-09-27 16:11:01 +01:00
|
|
|
|
2017-10-13 13:20:39 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2014-06-22 09:56:43 +01:00
|
|
|
|
2018-01-05 16:03:44 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/lib/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
|
|
|
|
'';
|
|
|
|
|
2017-10-13 13:20:39 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2016-02-19 14:12:08 +00:00
|
|
|
description = "KDE Connect provides several features to integrate your phone and your computer";
|
2017-10-13 13:20:39 +01:00
|
|
|
homepage = https://community.kde.org/KDEConnect;
|
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
|
|
|
}
|