mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 10:56:56 +00:00
422ee37e52
- Update from Applications 16.04.2 to 16.04.3. - Remove the version number from the directory storing the Applications Nix expressions. It is not necessary to version the Nix expressions now that we keep only one version in Nixpkgs. - Fix a bug in generate-kde-applications.sh which prevented it from finding its helper script. - Automatically redirect the output of generate-kde-applications.sh to make the update script even easier to use.
25 lines
492 B
Nix
25 lines
492 B
Nix
name: args:
|
|
|
|
{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:
|
|
|
|
kdeApp (args // {
|
|
sname = "kde-l10n-${name}";
|
|
name = "kde-l10n-${name}-qt5";
|
|
|
|
outputs = [ "out" ];
|
|
|
|
nativeBuildInputs =
|
|
[ cmake extra-cmake-modules gettext kdoctools ]
|
|
++ (args.nativeBuildInputs or []);
|
|
|
|
preConfigure = ''
|
|
sed -e 's/add_subdirectory(4)//' -i CMakeLists.txt
|
|
${args.preConfigure or ""}
|
|
'';
|
|
|
|
preFixup = ''
|
|
propagatedBuildInputs=
|
|
propagatedNativeBuildInputs=
|
|
'';
|
|
})
|