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

83 lines
1.7 KiB
Nix
Raw Normal View History

{ mkDerivation
2016-02-19 15:12:08 +01:00
, lib
, fetchurl
, fetchpatch
2016-02-19 15:12:08 +01:00
, extra-cmake-modules
, kcmutils
, kconfigwidgets
, kdbusaddons
2017-10-13 14:20:39 +02:00
, kdoctools
2016-02-19 15:12:08 +01:00
, kiconthemes
, ki18n
, knotifications
, qca-qt5
, libfakekey
, libXtst
2017-06-25 09:48:38 +02:00
, qtx11extras
, qtmultimedia
, qtgraphicaleffects
, sshfs
, makeWrapper
2018-04-11 04:16:28 +02:00
, kwayland
, kio
, kpeoplevcard
, kpeople
, kirigami2
, pulseaudio-qt
}:
mkDerivation rec {
2017-10-10 20:30:34 +02:00
pname = "kdeconnect";
version = "20.08.1";
src = fetchurl {
url = "https://download.kde.org/stable/release-service/${version}/src/${pname}-kde-${version}.tar.xz";
sha256 = "0s76djgpx08jfmh99c7kx18mnr3w7bv4hdra120nicq89mmy7gwf";
};
patches = [
# https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/328
(fetchpatch {
url = "https://invent.kde.org/network/kdeconnect-kde/-/commit/6101ef3ad07d865958d58a3d2736f5536f1c5719.diff";
sha256 = "17mr7k13226vzcgxlmfs6q2mdc5j7vwp4iri9apmh6xlf6r591ac";
})
];
2016-02-19 15:12:08 +01:00
buildInputs = [
libfakekey
libXtst
qtmultimedia
qtgraphicaleffects
pulseaudio-qt
kpeoplevcard
kpeople
kirigami2
ki18n
kiconthemes
kcmutils
kconfigwidgets
kdbusaddons
knotifications
qca-qt5
qtx11extras
makeWrapper
kwayland
kio
2016-02-19 15:12:08 +01:00
];
2017-10-13 14:20:39 +02:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
postInstall = ''
2019-07-21 16:25:58 +02:00
wrapProgram $out/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
'';
2017-10-13 14:20:39 +02:00
enableParallelBuilding = true;
meta = with lib; {
2016-02-19 15:12:08 +01:00
description = "KDE Connect provides several features to integrate your phone and your computer";
homepage = "https://community.kde.org/KDEConnect";
2017-10-13 14:20:39 +02:00
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ fridh ];
};
}