nixpkgs/pkgs/desktops/lxqt/lxqt-l10n/default.nix

33 lines
767 B
Nix
Raw Normal View History

2017-02-19 11:39:19 +00:00
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
2016-10-03 21:57:29 +00:00
stdenv.mkDerivation rec {
name = "lxqt-l10n-${version}";
version = "0.13.0";
2016-10-03 21:57:29 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 21:57:29 +00:00
repo = "lxqt-l10n";
rev = version;
sha256 = "0q1hzj6sa4wc8sgqqqsqfldjpnvihacfq73agvc2li3q6qi5rr0k";
2016-10-03 21:57:29 +00:00
};
nativeBuildInputs = [
cmake
qt5.qttools
2017-02-19 11:39:19 +00:00
lxqt.lxqt-build-tools
2016-10-03 21:57:29 +00: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/lxqt/lxqt-l10n;
2016-10-03 21:57:29 +00:00
license = licenses.lgpl21Plus;
platforms = with platforms; unix;
2017-02-19 11:39:19 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 21:57:29 +00:00
};
}