nixpkgs/pkgs/desktops/kde-5/applications-15.12/kde-locale-4.nix
Vladimír Čunát f306e67e15 kde5: move files around to simplify merge
It is analogous to 98d8e1a160d3.
2016-03-08 09:42:41 +01:00

28 lines
534 B
Nix

name: args:
{ kdeApp, automoc4, cmake, gettext, kdelibs, perl }:
kdeApp (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=
'';
})