2016-08-04 14:07:17 +00:00
|
|
|
{
|
2020-12-05 19:34:39 +00:00
|
|
|
mkDerivation, lib,
|
2017-02-26 12:49:15 +00:00
|
|
|
extra-cmake-modules, kdoctools,
|
2020-12-05 19:34:39 +00:00
|
|
|
qtbase,
|
2016-08-04 14:07:17 +00:00
|
|
|
kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
|
2021-05-07 15:55:02 +00:00
|
|
|
kdeclarative, ki18n, kiconthemes, kio, kirigami2, kpackage, kservice,
|
|
|
|
kwayland, kwidgetsaddons, kxmlgui, solid, systemsettings,
|
|
|
|
libraw1394, libGLU, pciutils,
|
2016-04-21 16:01:22 +00:00
|
|
|
}:
|
|
|
|
|
2017-05-15 16:44:58 +00:00
|
|
|
mkDerivation {
|
2016-04-21 16:01:22 +00:00
|
|
|
name = "kinfocenter";
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-05-22 18:49:07 +00:00
|
|
|
buildInputs = [
|
2016-08-04 14:07:17 +00:00
|
|
|
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
|
2021-05-07 15:55:02 +00:00
|
|
|
kdeclarative ki18n kiconthemes kio kirigami2 kpackage kservice kwayland
|
|
|
|
kwidgetsaddons kxmlgui solid systemsettings
|
|
|
|
|
|
|
|
libraw1394 libGLU pciutils
|
2016-04-21 16:01:22 +00:00
|
|
|
];
|
2021-01-03 22:24:59 +00:00
|
|
|
preFixup = ''
|
2021-05-07 15:55:02 +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-01-03 22:24:59 +00:00
|
|
|
ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter
|
|
|
|
'';
|
2016-04-21 16:01:22 +00:00
|
|
|
}
|