lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 42 lines 1.2 kB view raw
1{ stdenv, fetchurl, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules 2, fetchpatch 3}: 4 5stdenv.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"; 12 }; 13 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 23 nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig ]; 24 25 buildInputs = [ fcitx qtbase ]; 26 27 preInstall = '' 28 substituteInPlace platforminputcontext/cmake_install.cmake \ 29 --replace ${qtbase.out} $out 30 substituteInPlace quickphrase-editor/cmake_install.cmake \ 31 --replace ${fcitx} $out 32 ''; 33 34 meta = with stdenv.lib; { 35 homepage = https://github.com/fcitx/fcitx-qt5; 36 description = "Qt5 IM Module for Fcitx"; 37 license = licenses.gpl2; 38 platforms = platforms.linux; 39 maintainers = with maintainers; [ ericsagnes ]; 40 }; 41 42}