ibus-engines.chewing: init at 2.1.4

(cherry picked from commit bfa36019b9)
This commit is contained in:
Yueh-Shun Li
2025-05-15 05:25:39 +08:00
committed by github-actions[bot]
parent 88331c17ba
commit a2d101d9c3
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
wrapGAppsHook4,
glib,
gtk4,
ibus,
libadwaita,
libchewing,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ibus-chewing";
version = "2.1.4";
src = fetchFromGitHub {
owner = "chewing";
repo = "ibus-chewing";
tag = "v${finalAttrs.version}";
hash = "sha256-l2sXjXpiParDslVDG1mXmtGNj6qcLJMPxeaBYNQkqZA=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
ibus
libadwaita
libchewing
];
enableParallelBuilding = true;
meta = {
isIbusEngine = true;
description = "Chewing engine for IBus";
homepage = "https://github.com/chewing/ibus-chewing";
changelog = "https://github.com/chewing/ibus-chewing/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ShamrockLee ];
platforms = lib.platforms.linux;
};
})

View File

@@ -2629,6 +2629,8 @@ with pkgs;
cangjie = callPackage ../tools/inputmethods/ibus-engines/ibus-cangjie { };
chewing = callPackage ../tools/inputmethods/ibus-engines/ibus-chewing { };
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
kkc = callPackage ../tools/inputmethods/ibus-engines/ibus-kkc { };