fcitx5-qt: Init at 5.0.1

This commit is contained in:
Poscat 2020-12-13 11:07:21 +08:00
parent 85a30b1fd8
commit e42b4d312f
No known key found for this signature in database
GPG Key ID: 2D2595A00D08ACE0
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
, cmake
, extra-cmake-modules
, fcitx5
, qtx11extras
, libxcb
, libXdmcp
}:
mkDerivation rec {
pname = "fcitx5-qt";
version = "5.0.1";
src = fetchFromGitHub {
owner = "fcitx";
repo = "fcitx5-qt";
rev = version;
sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM=";
};
cmakeFlags = [
"-DENABLE_QT4=0"
];
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
fcitx5
qtx11extras
libxcb
libXdmcp
];
meta = with stdenv.lib; {
description = "Fcitx5 Qt Library";
homepage = "https://github.com/fcitx/fcitx5-qt";
license = with licenses; [ lgpl21Plus bsd3 ];
maintainers = with maintainers; [ poscat ];
platforms = platforms.linux;
};
}

View File

@ -15842,6 +15842,8 @@ in
fcitx-qt5 = callPackage ../tools/inputmethods/fcitx/fcitx-qt5.nix { };
fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
qgpgme = callPackage ../development/libraries/gpgme { };
grantlee = callPackage ../development/libraries/grantlee/5 { };