summary refs log tree commit diff
path: root/pkgs/applications/misc/kdeconnect/default.nix
blob: f0a66d421011092fc773fec29ab29011d952d07c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ stdenv, fetchurl, gettext, kdelibs, libXtst, makeWrapper, qca2, qca2_ossl, qjson }:

stdenv.mkDerivation rec {
  name = "kdeconnect-${version}";
  version = "0.7";

  src = fetchurl {
    url = "http://download.kde.org/unstable/kdeconnect/${version}/src/kdeconnect-kde-${version}.tar.xz";
    sha256 = "0a8g3avg9x5j07cf3c16i4w65q3fn1cbs8zxgq0vl14rzdy09q2j";
  };

  buildInputs = [ gettext kdelibs libXtst makeWrapper qca2 qca2_ossl qjson ];

  postInstall = ''
    wrapProgram $out/lib/kde4/libexec/kdeconnectd --prefix QT_PLUGIN_PATH : ${qca2_ossl}/lib/qt4/plugins
  '';

  meta = with stdenv.lib; {
    description = "A tool to connect and sync your devices with KDE";
    longDescription = ''
        The corresponding Android app, "KDE Connect", is available in
        F-Droid and Google play and has the following features:

        - Share files and URLs to KDE from any app
        - Clipboard share: copy from or to your desktop
        - Notifications sync (4.3+): Read your Android notifications from KDE
        - Multimedia remote control: Use your phone as a remote control
        - WiFi connection: no usb wire or bluetooth needed
        - RSA Encryption: your information is safe 
    '';
    license = licenses.gpl2;
    homepage = https://projects.kde.org/projects/playground/base/kdeconnect-kde;
    platforms = platforms.linux;
    maintainers = [ maintainers.goibhniu ];
  };
}