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