about summary refs log tree commit diff
path: root/pkgs/applications/kde/krdc.nix
blob: 9d9762523d9748f603417de04123416928b36b11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  mkDerivation, lib,
  extra-cmake-modules, kdoctools, makeWrapper,
  kcmutils, kcompletion, kconfig, kdnssd, knotifyconfig, kwallet, kwidgetsaddons,
  kwindowsystem, libvncserver, freerdp, qtbase,
}:

mkDerivation {
  pname = "krdc";
  nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
  buildInputs = [
    kcmutils kcompletion kconfig kdnssd knotifyconfig kwallet kwidgetsaddons
    kwindowsystem freerdp libvncserver
  ];
  postFixup = ''
    wrapProgram $out/bin/krdc \
      --prefix PATH : ${lib.makeBinPath [ freerdp ]}
  '';
  meta = with lib; {
    homepage = "http://www.kde.org";
    description = "Remote desktop client";
    license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ];
    maintainers = with maintainers; [ peterhoeg ];
    platforms = platforms.linux;
    broken = lib.versionOlder qtbase.version "5.14";
  };
}