fcitx5-chewing: init at 5.0.9

This commit is contained in:
xrelkd 2022-02-03 00:33:49 +08:00 committed by Matthieu Coudron
parent c7c159af4d
commit dc40d81282
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, gettext
, fcitx5
, libchewing
}:
stdenv.mkDerivation rec {
pname = "fcitx5-chewing";
version = "5.0.9";
src = fetchFromGitHub {
owner = "fcitx";
repo = pname;
rev = version;
sha256 = "sha256-wPfod0BNvNy1gwSJyu7N0sS61StnmXLrMNFgmHk9A0M=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext
];
buildInputs = [
fcitx5
libchewing
];
meta = with lib; {
description = "Chewing wrapper for Fcitx5";
homepage = "https://github.com/fcitx/fcitx5-chewing";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}

View file

@ -5322,6 +5322,8 @@ with pkgs;
fcitx5-configtool = libsForQt5.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
fcitx5-chewing = callPackage ../tools/inputmethods/fcitx5/fcitx5-chewing.nix { };
fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { };
fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { };