mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
18 lines
385 B
Nix
18 lines
385 B
Nix
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 ""}
|
|
'';
|
|
})
|