about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/plasma-5/kinfocenter.nix
blob: f7f50dc3b57f2a12afa02091c345d589bb3dc188 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  mkDerivation, lib,
  extra-cmake-modules, kdoctools,
  qtbase,
  kcmutils, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
  kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kirigami2, kpackage,
  kservice, kwayland, kwidgetsaddons, kxmlgui, libraw1394, libGLU, pciutils,
  solid, systemsettings
}:

mkDerivation {
  name = "kinfocenter";
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
    kdeclarative kdelibs4support ki18n kiconthemes kio kirigami2 kpackage
    kservice kwayland kwidgetsaddons kxmlgui libraw1394 libGLU pciutils solid systemsettings
  ];
  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
  '';
}