nixpkgs-suyu/pkgs/applications/misc/kdeconnect/default.nix
2017-10-14 14:38:04 +08:00

44 lines
987 B
Nix

{ stdenv
, lib
, fetchurl
, extra-cmake-modules
, kcmutils
, kconfigwidgets
, kdbusaddons
, kdoctools
, kiconthemes
, ki18n
, knotifications
, qca-qt5
, libfakekey
, libXtst
, qtx11extras
}:
stdenv.mkDerivation rec {
pname = "kdeconnect";
version = "1.2";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-kde-${version}.tar.xz";
sha256 = "0w3rdldnr6md70r4ch255vk712d37vy63ml7ly2fhr4cfnk2i1ay";
};
buildInputs = [
libfakekey libXtst
ki18n kiconthemes kcmutils kconfigwidgets kdbusaddons knotifications
qca-qt5 qtx11extras
];
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
enableParallelBuilding = true;
meta = with lib; {
description = "KDE Connect provides several features to integrate your phone and your computer";
homepage = https://community.kde.org/KDEConnect;
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ fridh ];
};
}