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

51 lines
1.1 KiB
Nix
Raw Normal View History

2016-02-19 14:12:08 +00:00
{ stdenv
, 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
}:
stdenv.mkDerivation rec {
2017-10-10 19:30:34 +01:00
pname = "kdeconnect";
2018-01-17 17:04:47 +00:00
version = "1.2.1";
2017-10-10 19:30:34 +01:00
name = "${pname}-${version}";
src = fetchurl {
2018-01-17 17:04:47 +00:00
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-kde-v${version}.tar.xz";
sha256 = "01v432p9ylwss9gl6fvby8954bnjd91dni5jk1i44vv7x26yn8zg";
};
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
2016-02-19 14:12:08 +00:00
];
2017-10-13 13:20:39 +01:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
postInstall = ''
wrapProgram $out/lib/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";
2017-10-13 13:20:39 +01:00
homepage = https://community.kde.org/KDEConnect;
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ fridh ];
};
}