summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-03-01 10:36:00 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-03-01 10:36:00 -0600
commit98d8e1a160d3138e9ef3a51f727b04315ab9e285 (patch)
tree980cbcef877946fb27915d6ddb956cde544cf232 /pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
parentbf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896 (diff)
downloadnixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar.gz
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar.bz2
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar.lz
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar.xz
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.tar.zst
nixlib-98d8e1a160d3138e9ef3a51f727b04315ab9e285.zip
kde5: consolidate packages into desktops/kde-5
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.nix17
1 files changed, 17 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..522fc542aeb2
--- /dev/null
+++ b/pkgs/desktops/kde-5/applications-15.12/kde-locale-5.nix
@@ -0,0 +1,17 @@
+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 ""}
+  '';
+})