2016-02-19 14:12:08 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, extra-cmake-modules
|
|
|
|
, makeQtWrapper
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, kdbusaddons
|
|
|
|
, kiconthemes
|
|
|
|
, ki18n
|
|
|
|
, knotifications
|
|
|
|
, qca-qt5
|
|
|
|
, libfakekey
|
|
|
|
, libXtst
|
2014-11-03 20:55:33 +00:00
|
|
|
}:
|
2014-06-22 09:56:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "kdeconnect-${version}";
|
2016-08-26 20:34:41 +01:00
|
|
|
version = "1.0";
|
2014-06-22 09:56:43 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-26 20:34:41 +01:00
|
|
|
url = http://download.kde.org/stable/kdeconnect/1.0/src/kdeconnect-kde-1.0.tar.xz;
|
|
|
|
sha256 = "0pd8qw0w6akc7yzmsr0sjkfj3nw6rgm5xvq41g61ak8pp05syzr0";
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
buildInputs = [
|
|
|
|
kcmutils
|
|
|
|
kconfigwidgets
|
|
|
|
kdbusaddons
|
|
|
|
qca-qt5
|
|
|
|
ki18n
|
|
|
|
kiconthemes
|
|
|
|
knotifications
|
|
|
|
libfakekey
|
|
|
|
libXtst
|
|
|
|
];
|
2015-09-27 16:11:01 +01:00
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
makeQtWrapper
|
|
|
|
];
|
2014-06-22 09:56:43 +01:00
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/kdeconnect-cli"
|
|
|
|
'';
|
2014-06-22 09:56:43 +01:00
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
meta = {
|
|
|
|
description = "KDE Connect provides several features to integrate your phone and your computer";
|
|
|
|
license = with lib.licenses; [ gpl2 ];
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
homepage = https://community.kde.org/KDEConnect;
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
2016-02-19 14:12:08 +00:00
|
|
|
|
2014-06-22 09:56:43 +01:00
|
|
|
}
|