mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
28 lines
546 B
Nix
28 lines
546 B
Nix
name: args:
|
|
|
|
{ mkDerivation, automoc4, cmake, gettext, kdelibs, perl }:
|
|
|
|
mkDerivation (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=
|
|
'';
|
|
})
|