From ae2c6ef448e5ad2a0104c2ba4f7f134894bf112d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 18:57:29 -0300 Subject: [PATCH] lxqt-l10n: init at 0.11.0 --- pkgs/desktops/lxqt/core/lxqt-l10n/default.nix | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/lxqt-l10n/default.nix 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; + }; +}