fcitx-qt5: 1.1.0 -> 1.2.1

This commit is contained in:
Matthieu Coudron 2017-12-30 07:19:13 +09:00
parent be7c4c1d7e
commit d14d82389c

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fcitx-qt5-${version}"; name = "fcitx-qt5-${version}";
version = "1.1.0"; version = "1.2.1";
src = fetchurl { src = fetchurl {
url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz"; url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz";
sha256 = "0r8c5k0qin3mz2p1mdciip6my0x58662sx5z50zs4c5pkdg21qwv"; sha256 = "0z8ax0dxk88byic41mfaiahjdv1k8ciwn97xfjkkgr4ijgscdr8c";
}; };
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ]; nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
preInstall = '' preInstall = ''
substituteInPlace platforminputcontext/cmake_install.cmake \ substituteInPlace platforminputcontext/cmake_install.cmake \
--replace ${qtbase.out} $out --replace ${qtbase.out} $out
substituteInPlace quickphrase-editor/cmake_install.cmake \
--replace ${fcitx} $out
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/fcitx/fcitx-qt5"; homepage = http://github.com/fcitx/fcitx-qt5;
description = "Qt5 IM Module for Fcitx"; description = "Qt5 IM Module for Fcitx";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;