nixpkgs-suyu/pkgs/desktops/plasma-5/kinfocenter.nix

26 lines
1,020 B
Nix
Raw Normal View History

{
2020-12-05 20:34:39 +01:00
mkDerivation, lib,
extra-cmake-modules, kdoctools,
2020-12-05 20:34:39 +01:00
qtbase,
kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
2020-09-01 12:19:14 +02:00
kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kirigami2, kpackage,
kservice, kwayland, kwidgetsaddons, kxmlgui, libraw1394, libGLU, pciutils,
solid, systemsettings
2016-04-21 18:01:22 +02:00
}:
mkDerivation {
2016-04-21 18:01:22 +02:00
name = "kinfocenter";
2020-12-05 20:34:39 +01:00
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
2020-09-01 12:19:14 +02:00
kdeclarative kdelibs4support ki18n kiconthemes kio kirigami2 kpackage
kservice kwayland kwidgetsaddons kxmlgui libraw1394 libGLU pciutils solid systemsettings
2016-04-21 18:01:22 +02:00
];
preFixup = ''
# 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
ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter
'';
2016-04-21 18:01:22 +02:00
}