nixpkgs/pkgs/desktops/kde-5/applications-15.12/kde-locale-4.nix

28 lines
534 B
Nix
Raw Normal View History

2015-11-21 21:08:42 +01:00
name: args:
{ kdeApp, automoc4, cmake, gettext, kdelibs, perl }:
kdeApp (args // {
sname = "kde-l10n-${name}";
name = "kde-l10n-${name}-qt4";
2016-01-27 13:23:03 +01:00
outputs = [ "out" ];
2015-11-21 21:08:42 +01:00
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 ""}
'';
2016-01-27 13:23:03 +01:00
preFixup = ''
propagatedBuildInputs=
propagatedNativeBuildInputs=
'';
2015-11-21 21:08:42 +01:00
})