depot/third_party/nixpkgs/pkgs/applications/kde/khelpcenter.nix

49 lines
723 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;
};
}