about summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-03-08 08:31:34 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-03-08 09:42:41 +0100
commitf306e67e15bdbe9a8358c9f81319fc4fcbadc2eb (patch)
tree713f81c97b15d54e3daf42fedb9349d72b63b07e /pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
parent4e2fe6e5794a78173f415dfb3d2afa3d499065db (diff)
downloadnixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar.gz
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar.bz2
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar.lz
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar.xz
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.tar.zst
nixlib-f306e67e15bdbe9a8358c9f81319fc4fcbadc2eb.zip
kde5: move files around to simplify merge
It is analogous to 98d8e1a160d3.
Diffstat (limited to 'pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix')
-rw-r--r--pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix b/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
new file mode 100644
index 000000000000..772ebe37e44f
--- /dev/null
+++ b/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
@@ -0,0 +1,24 @@
+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=
+  '';
+})