mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
8be4bd7416
- There is no such thing as KDE 5
28 lines
534 B
Nix
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=
|
|
'';
|
|
})
|