summary refs log tree commit diff
path: root/pkgs/applications/kde-apps-15.08/kde-locale-5.nix
blob: 522fc542aeb2d03c598497d834840d727119fb35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: args:

{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:

kdeApp (args // {
  sname = "kde-l10n-${name}";
  name = "kde-l10n-${name}-qt5";

  nativeBuildInputs =
    [ cmake extra-cmake-modules gettext kdoctools ]
    ++ (args.nativeBuildInputs or []);

  preConfigure = ''
    sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
    ${args.preConfigure or ""}
  '';
})