···11+{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig
22+, gettext, kdelibs, libXtst, libfakekey, makeWrapper, qca2, qjson
33+}:
44+55+stdenv.mkDerivation rec {
66+ name = "kdeconnect-${version}";
77+ version = "0.7.3";
88+99+ src = fetchurl {
1010+ url = "http://download.kde.org/unstable/kdeconnect/${version}/src/kdeconnect-kde-${version}.tar.xz";
1111+ sha256 = "1vrr047bq5skxvibv5pb9ch9dxh005zmar017jzbyb9hilxr8kg4";
1212+ };
1313+1414+ buildInputs = [ gettext kdelibs libXtst libfakekey makeWrapper qca2 qjson ];
1515+1616+ nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
1717+1818+ meta = with stdenv.lib; {
1919+ description = "A tool to connect and sync your devices with KDE";
2020+ longDescription = ''
2121+ The corresponding Android app, "KDE Connect", is available in
2222+ F-Droid and Google play and has the following features:
2323+2424+ - Share files and URLs to KDE from any app
2525+ - Clipboard share: copy from or to your desktop
2626+ - Notifications sync (4.3+): Read your Android notifications from KDE
2727+ - Multimedia remote control: Use your phone as a remote control
2828+ - WiFi connection: no usb wire or bluetooth needed
2929+ - RSA Encryption: your information is safe
3030+ '';
3131+ license = licenses.gpl2;
3232+ homepage = https://projects.kde.org/projects/playground/base/kdeconnect-kde;
3333+ platforms = platforms.linux;
3434+ maintainers = [ maintainers.goibhniu ];
3535+ };
3636+}
+43-23
pkgs/applications/misc/kdeconnect/default.nix
···11-{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig
22-, gettext, kdelibs, libXtst, libfakekey, makeWrapper, qca2, qjson
11+{ stdenv
22+, lib
33+, fetchurl
44+, extra-cmake-modules
55+, makeQtWrapper
66+, qtquick1
77+, kcmutils
88+, kconfigwidgets
99+, kdbusaddons
1010+, kiconthemes
1111+, ki18n
1212+, knotifications
1313+, qca-qt5
1414+, libfakekey
1515+, libXtst
316}:
417518stdenv.mkDerivation rec {
619 name = "kdeconnect-${version}";
77- version = "0.7.3";
2020+ version = "0.9g";
821922 src = fetchurl {
1010- url = "http://download.kde.org/unstable/kdeconnect/${version}/src/kdeconnect-kde-${version}.tar.xz";
1111- sha256 = "1vrr047bq5skxvibv5pb9ch9dxh005zmar017jzbyb9hilxr8kg4";
2323+ url = http://download.kde.org/unstable/kdeconnect/0.9/src/kdeconnect-kde-0.9g.tar.xz;
2424+ sha256 = "4033754057bbc993b1d4350959afbe1d17a4f1e56dd60c6df6abca5a321ee1b8";
1225 };
13261414- buildInputs = [ gettext kdelibs libXtst libfakekey makeWrapper qca2 qjson ];
2727+ buildInputs = [
2828+ kcmutils
2929+ kconfigwidgets
3030+ kdbusaddons
3131+ qca-qt5
3232+ qtquick1
3333+ ki18n
3434+ kiconthemes
3535+ knotifications
3636+ libfakekey
3737+ libXtst
3838+ ];
15391616- nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
4040+ nativeBuildInputs = [
4141+ extra-cmake-modules
4242+ makeQtWrapper
4343+ ];
17441818- meta = with stdenv.lib; {
1919- description = "A tool to connect and sync your devices with KDE";
2020- longDescription = ''
2121- The corresponding Android app, "KDE Connect", is available in
2222- F-Droid and Google play and has the following features:
4545+ postInstall = ''
4646+ wrapQtProgram "$out/bin/kdeconnect-cli"
4747+ '';
23482424- - Share files and URLs to KDE from any app
2525- - Clipboard share: copy from or to your desktop
2626- - Notifications sync (4.3+): Read your Android notifications from KDE
2727- - Multimedia remote control: Use your phone as a remote control
2828- - WiFi connection: no usb wire or bluetooth needed
2929- - RSA Encryption: your information is safe
3030- '';
3131- license = licenses.gpl2;
3232- homepage = https://projects.kde.org/projects/playground/base/kdeconnect-kde;
3333- platforms = platforms.linux;
3434- maintainers = [ maintainers.goibhniu ];
4949+ meta = {
5050+ description = "KDE Connect provides several features to integrate your phone and your computer";
5151+ license = with lib.licenses; [ gpl2 ];
5252+ maintainers = with lib.maintainers; [ fridh ];
5353+ homepage = https://community.kde.org/KDEConnect;
3554 };
5555+3656}