nixpkgs/pkgs/applications/kde/khelpcenter.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

28 lines
655 B
Nix

{ lib, mkDerivation
, extra-cmake-modules, kdoctools
, grantlee, kcmutils, kconfig, kcoreaddons, kdbusaddons, ki18n
, kinit, khtml, kservice, xapian
}:
mkDerivation {
pname = "khelpcenter";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
grantlee kcmutils kconfig kcoreaddons kdbusaddons khtml
ki18n kinit kservice xapian
];
preFixup = ''
qtWrapperArgs+=(
--prefix MANPATH : /nix/var/nix/profiles/system/sw/share/man
)
'';
meta = with lib; {
homepage = "https://apps.kde.org/help/";
description = "Help center";
mainProgram = "khelpcenter";
license = licenses.gpl2Plus;
};
}