2017-02-19 12:39:19 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
|
2016-10-03 23:57:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lxqt-l10n-${version}";
|
2018-06-24 05:37:13 +02:00
|
|
|
version = "0.13.0";
|
2016-10-03 23:57:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "lxqt-l10n";
|
|
|
|
rev = version;
|
2018-06-24 05:37:13 +02:00
|
|
|
sha256 = "0q1hzj6sa4wc8sgqqqsqfldjpnvihacfq73agvc2li3q6qi5rr0k";
|
2016-10-03 23:57:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qt5.qttools
|
2017-02-19 12:39:19 +01:00
|
|
|
lxqt.lxqt-build-tools
|
2016-10-03 23:57:29 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 12:39:19 +01:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 23:57:29 +02:00
|
|
|
};
|
|
|
|
}
|