about summary refs log tree commit diff
path: root/pkgs/applications/kde/kde-locale-4.nix
blob: daf0a55b19e5f135c450f6b9437fc71e83c1fd65 (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
25
26
27
name: args:

{ mkDerivation, automoc4, cmake, gettext, kdelibs, perl }:

mkDerivation (args // {
  sname = "kde-l10n-${name}";
  name = "kde-l10n-${name}-qt4";

  outputs = [ "out" ];

  nativeBuildInputs =
    [ automoc4 cmake gettext perl ]
    ++ (args.nativeBuildInputs or []);
  buildInputs =
    [ kdelibs ]
    ++ (args.buildInputs or []);

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

  preFixup = ''
    propagatedBuildInputs=
    propagatedNativeBuildInputs=
  '';
})