fcitx-qt5: 1.2.1 -> 1.2.3

This commit is contained in:
xrelkd 2019-07-13 01:30:33 +08:00 committed by worldofpeace
parent 356d9ad758
commit a354cbb715

View File

@ -1,25 +1,16 @@
{ stdenv, fetchurl, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules { stdenv, fetchFromGitLab, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules }:
, fetchpatch
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fcitx-qt5-${version}"; pname = "fcitx-qt5";
version = "1.2.1"; version = "1.2.3";
src = fetchurl { src = fetchFromGitLab {
url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz"; owner = "fcitx";
sha256 = "0z8ax0dxk88byic41mfaiahjdv1k8ciwn97xfjkkgr4ijgscdr8c"; repo = pname;
rev = version;
sha256 = "0860v3rxsh054wkkbawvyin5mk0flp4cwfcpmcpq147lvdm5lq2i";
}; };
patches = [
# Fix build with Qt 5.11
# https://github.com/fcitx/fcitx-qt5/issues/34
(fetchpatch {
url = https://github.com/fcitx/fcitx-qt5/commit/af033e3d5305108eecc568adff7f8b2da5831ed6.diff;
sha256 = "14vfz1fw2k362wnqpglw766fg3d3mc8cmfgic2p96yyipjh9xx3b";
})
];
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ]; nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
buildInputs = [ fcitx qtbase ]; buildInputs = [ fcitx qtbase ];
@ -32,11 +23,10 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/fcitx/fcitx-qt5; homepage = https://gitlab.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;
maintainers = with maintainers; [ ericsagnes ]; maintainers = with maintainers; [ ericsagnes ];
}; };
} }