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}";
|
2017-11-02 02:55:55 +01:00
|
|
|
version = "0.12.0";
|
2016-10-03 23:57:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxde";
|
|
|
|
repo = "lxqt-l10n";
|
|
|
|
rev = version;
|
2017-11-02 02:55:55 +01:00
|
|
|
sha256 = "025zg5y9f286p74rab4yxyz4cqlh4hqjq43xxpi76ma2fy2s03a4";
|
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
|
|
|
};
|
|
|
|
}
|