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

33 lines
767 B
Nix
Raw Normal View History

2017-02-19 03:39:19 -08:00
{ stdenv, fetchFromGitHub, cmake, qt5, lxqt }:
2016-10-03 14:57:29 -07:00
stdenv.mkDerivation rec {
name = "lxqt-l10n-${version}";
2017-02-19 03:39:19 -08:00
version = "0.11.2";
2016-10-03 14:57:29 -07:00
src = fetchFromGitHub {
owner = "lxde";
repo = "lxqt-l10n";
rev = version;
2017-02-19 03:39:19 -08:00
sha256 = "1vk4q98kraq0lba50n9z6jwiapc7nz2b143b4ldlmrz4wscd867h";
2016-10-03 14:57:29 -07:00
};
nativeBuildInputs = [
cmake
qt5.qttools
2017-02-19 03:39:19 -08:00
lxqt.lxqt-build-tools
2016-10-03 14:57:29 -07: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 03:39:19 -08:00
maintainers = with maintainers; [ romildo ];
2016-10-03 14:57:29 -07:00
};
}