git.iko.soy/typeable/nixpkgs
on master help sign in
fcitx-qt5: 1.2.1 -> 1.2.3
commita354cbb7156bb19f4c9da801ec6c90255ff9e0dc authorxrelkd <46590321+xrelkd@users.noreply.github.com> dateSat 13 Jul 2019, 01:30 (7 years ago) parent356d9ad
1 file changed+10−20
pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix+10−20
pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix+10−20
@@ -1,25 +1,16 @@
1−{ stdenv, fetchurl, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules
2−, fetchpatch
3−}:
1+{ stdenv, fetchFromGitLab, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules }:
42
53stdenv.mkDerivation rec {
6− name = "fcitx-qt5-${version}";
7− version = "1.2.1";
8−
9− src = fetchurl {
10− url = "http://download.fcitx-im.org/fcitx-qt5/${name}.tar.xz";
11− sha256 = "0z8ax0dxk88byic41mfaiahjdv1k8ciwn97xfjkkgr4ijgscdr8c";
4+ pname = "fcitx-qt5";
5+ version = "1.2.3";
6+
7+ src = fetchFromGitLab {
8+ owner = "fcitx";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "0860v3rxsh054wkkbawvyin5mk0flp4cwfcpmcpq147lvdm5lq2i";
1212 };
1313
14− patches = [
15− # Fix build with Qt 5.11
16− # https://github.com/fcitx/fcitx-qt5/issues/34
17− (fetchpatch {
18− url = https://github.com/fcitx/fcitx-qt5/commit/af033e3d5305108eecc568adff7f8b2da5831ed6.diff;
19− sha256 = "14vfz1fw2k362wnqpglw766fg3d3mc8cmfgic2p96yyipjh9xx3b";
20− })
21− ];
22−
2314 nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ];
2415
2516 buildInputs = [ fcitx qtbase ];
@@ -32,11 +23,10 @@ stdenv.mkDerivation rec {
3223 '';
3324
3425 meta = with stdenv.lib; {
35− homepage = https://github.com/fcitx/fcitx-qt5;
26+ homepage = https://gitlab.com/fcitx/fcitx-qt5;
3627 description = "Qt5 IM Module for Fcitx";
3728 license = licenses.gpl2;
3829 platforms = platforms.linux;
3930 maintainers = with maintainers; [ ericsagnes ];
4031 };
41−
4232}