summary refs log tree commit diff
path: root/pkgs/development/libraries/kde-frameworks/kglobalaccel.nix
blob: 05fde45f17d20d007df89e104ee4d27a27781624 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  mkDerivation, lib,
  extra-cmake-modules,
  kconfig, kcoreaddons, kcrash, kdbusaddons, kservice, kwindowsystem,
  qtbase, qttools, qtx11extras,
}:

mkDerivation {
  name = "kglobalaccel";
  nativeBuildInputs = [ extra-cmake-modules ];
  buildInputs = [
    kconfig kcoreaddons kcrash kdbusaddons kservice kwindowsystem qttools
    qtx11extras
  ];
  propagatedBuildInputs = [ qtbase ];
  postPatch = ''
    sed -i src/runtime/org.kde.kglobalaccel.service.in \
        -e "s|@CMAKE_INSTALL_PREFIX@|''${!outputBin}|"
  '';
}