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

52 lines
1.1 KiB
Nix
Raw Normal View History

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