summary refs log tree commit diff
path: root/pkgs/desktops/lxqt
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2016-10-03 18:57:29 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2016-10-06 08:02:38 -0300
commitae2c6ef448e5ad2a0104c2ba4f7f134894bf112d (patch)
tree5e9b8d1d29691da68748941704b10695bfdfc2af /pkgs/desktops/lxqt
parentbca1f38df39f03642ec5a5beda7216f811c365a7 (diff)
downloadnixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar.gz
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar.bz2
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar.lz
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar.xz
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.tar.zst
nixlib-ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d.zip
lxqt-l10n: init at 0.11.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-l10n/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix b/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix
new file mode 100644
index 000000000000..477575289bb1
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "lxqt-l10n-${version}";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = "lxqt-l10n";
+    rev = version;
+    sha256 = "1gwismyjfdd7lwlgfl5jvbxmkbq9v9ia0shm4f7hkkvlpc2y24gk";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    qt5.qtbase
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  postPatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace "\''${LXQT_TRANSLATIONS_DIR}" "$out"/share/lxqt/translations
+  '';
+  
+  meta = with stdenv.lib; {
+    description = "Translations of LXQt";
+    homepage = https://github.com/lxde/lxqt-l10n;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}