fcitx5-configtool: Init at 5.0.1
This commit is contained in:
parent
5409030ea1
commit
1da3fbf0eb
2 changed files with 62 additions and 0 deletions
60
pkgs/tools/inputmethods/fcitx5/fcitx5-configtool.nix
Normal file
60
pkgs/tools/inputmethods/fcitx5/fcitx5-configtool.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{ stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, fcitx5
|
||||
, fcitx5-qt
|
||||
, qtx11extras
|
||||
, kwidgetsaddons
|
||||
, kdeclarative
|
||||
, kirigami2
|
||||
, isocodes
|
||||
, xkeyboardconfig
|
||||
, libxkbfile
|
||||
, libXdmcp
|
||||
, kcmSupport ? true
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "fcitx5-configtool";
|
||||
version = "5.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fcitx";
|
||||
repo = "fcitx5-configtool";
|
||||
rev = version;
|
||||
sha256 = "npSqd0R6bqKc+JxYCGcfVzgNLpuLtnHq6zM58smZ8/I=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fcitx5
|
||||
fcitx5-qt
|
||||
qtx11extras
|
||||
kirigami2
|
||||
isocodes
|
||||
xkeyboardconfig
|
||||
libxkbfile
|
||||
libXdmcp
|
||||
] ++ stdenv.lib.optionals kcmSupport [
|
||||
kdeclarative
|
||||
kwidgetsaddons
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Configuration Tool for Fcitx5";
|
||||
homepage = "https://github.com/fcitx/fcitx5-configtool";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ poscat ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -3934,6 +3934,8 @@ in
|
|||
|
||||
fcitx5 = libsForQt5.callPackage ../tools/inputmethods/fcitx5 { };
|
||||
|
||||
fcitx5-configtool = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
|
||||
|
||||
fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { };
|
||||
|
||||
fcppt = callPackage ../development/libraries/fcppt { };
|
||||
|
|
Loading…
Reference in a new issue