nixpkgs/pkgs/applications/misc/kdeconnect/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

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