summary refs log tree commit diff
path: root/pkgs/applications/misc/kdeconnect/default.nix
blob: ff9c451461d5147bcaa58ec6657a25e7490e4949 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ stdenv
, lib
, fetchurl
, extra-cmake-modules
, makeQtWrapper
, qtquick1
, kcmutils
, kconfigwidgets
, kdbusaddons
, kiconthemes
, ki18n
, knotifications
, qca-qt5
, libfakekey
, libXtst
}:

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

  src = fetchurl {
    url = http://download.kde.org/unstable/kdeconnect/0.9/src/kdeconnect-kde-0.9g.tar.xz;
    sha256 = "4033754057bbc993b1d4350959afbe1d17a4f1e56dd60c6df6abca5a321ee1b8";
  };

  buildInputs = [
    kcmutils
    kconfigwidgets
    kdbusaddons
    qca-qt5
    qtquick1
    ki18n
    kiconthemes
    knotifications
    libfakekey
    libXtst
  ];

  nativeBuildInputs = [
    extra-cmake-modules
    makeQtWrapper
  ];

  postInstall = ''
    wrapQtProgram "$out/bin/kdeconnect-cli"
  '';

  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;
  };

}