nixpkgs-suyu/pkgs/applications/kde/krdc.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
832 B
Nix

{
mkDerivation, lib,
extra-cmake-modules, kdoctools, makeWrapper,
kcmutils, kcompletion, kconfig, kdnssd, knotifyconfig, kwallet, kwidgetsaddons,
kwindowsystem, libvncserver, freerdp,
}:
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";
mainProgram = "krdc";
license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ];
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
};
}