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

55 lines
1.0 KiB
Nix
Raw Normal View History

2016-02-19 14:12:08 +00:00
{ stdenv
, lib
, fetchurl
, extra-cmake-modules
, makeQtWrapper
, kcmutils
, kconfigwidgets
, kdbusaddons
, kiconthemes
, ki18n
, knotifications
, qca-qt5
, libfakekey
, libXtst
}:
stdenv.mkDerivation rec {
name = "kdeconnect-${version}";
2017-02-20 10:42:07 +00:00
version = "1.0.3";
src = fetchurl {
2017-02-20 10:42:07 +00:00
url = "http://download.kde.org/stable/kdeconnect/${version}/src/kdeconnect-kde-${version}.tar.xz";
sha256 = "0b40402adw7cqz19fh8zw70f6l7b5p400mw668n3wic4favn27r2";
};
2016-02-19 14:12:08 +00:00
buildInputs = [
kcmutils
kconfigwidgets
kdbusaddons
qca-qt5
ki18n
kiconthemes
knotifications
libfakekey
libXtst
];
2016-02-19 14:12:08 +00:00
nativeBuildInputs = [
extra-cmake-modules
makeQtWrapper
];
2016-02-19 14:12:08 +00:00
postInstall = ''
wrapQtProgram "$out/bin/kdeconnect-cli"
'';
2016-02-19 14:12:08 +00:00
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;
};
2016-02-19 14:12:08 +00:00
}