2017-02-19 11:39:19 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
|
2016-10-03 22:57:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lxqt-l10n-${version}";
|
2018-06-24 04:37:13 +01:00
|
|
|
version = "0.13.0";
|
2016-10-03 22:57:29 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 02:24:38 +01:00
|
|
|
owner = "lxqt";
|
2016-10-03 22:57:29 +01:00
|
|
|
repo = "lxqt-l10n";
|
|
|
|
rev = version;
|
2018-06-24 04:37:13 +01:00
|
|
|
sha256 = "0q1hzj6sa4wc8sgqqqsqfldjpnvihacfq73agvc2li3q6qi5rr0k";
|
2016-10-03 22:57:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
qt5.qttools
|
2017-02-19 11:39:19 +00:00
|
|
|
lxqt.lxqt-build-tools
|
2016-10-03 22:57:29 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace CMakeLists.txt \
|
|
|
|
--replace "\''${LXQT_TRANSLATIONS_DIR}" "$out"/share/lxqt/translations
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Translations of LXQt";
|
2018-05-22 02:24:38 +01:00
|
|
|
homepage = https://github.com/lxqt/lxqt-l10n;
|
2016-10-03 22:57:29 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 11:39:19 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 22:57:29 +01:00
|
|
|
};
|
|
|
|
}
|