2020-04-24 23:36:52 +00:00
|
|
|
{
|
2020-12-25 13:55:36 +00:00
|
|
|
mkDerivation, lib,
|
2020-04-24 23:36:52 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
2020-12-25 13:55:36 +00:00
|
|
|
qtbase,
|
2020-04-24 23:36:52 +00:00
|
|
|
kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
|
2021-05-28 09:39:13 +00:00
|
|
|
kdeclarative, ki18n, kiconthemes, kio, kirigami2, kpackage, kservice,
|
|
|
|
kwayland, kwidgetsaddons, kxmlgui, solid, systemsettings,
|
|
|
|
libraw1394, libGLU, pciutils,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
name = "kinfocenter";
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
|
|
|
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
|
2021-05-28 09:39:13 +00:00
|
|
|
kdeclarative ki18n kiconthemes kio kirigami2 kpackage kservice kwayland
|
|
|
|
kwidgetsaddons kxmlgui solid systemsettings
|
|
|
|
|
|
|
|
libraw1394 libGLU pciutils
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-02-17 17:02:09 +00:00
|
|
|
preFixup = ''
|
2021-05-28 09:39:13 +00:00
|
|
|
# fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in
|
|
|
|
# the same directory, while it is actually located in a completely different
|
|
|
|
# store path
|
2021-02-17 17:02:09 +00:00
|
|
|
ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|