2016-04-21 16:00:51 +00:00
|
|
|
name: args:
|
|
|
|
|
2017-06-02 15:49:52 +00:00
|
|
|
{ mkDerivation, automoc4, cmake, gettext, kdelibs, perl }:
|
2016-04-21 16:00:51 +00:00
|
|
|
|
2017-06-02 15:49:52 +00:00
|
|
|
mkDerivation (args // {
|
2016-04-21 16:00:51 +00:00
|
|
|
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=
|
|
|
|
'';
|
|
|
|
})
|